ZuruiKitsune commited on
Commit
96dbdbb
1 Parent(s): 864a234

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +28 -0
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name": "ZuruiKitsune/ImageProcess",
3
+ "model_type": "transformers",
4
+ "tokenizer_name": "ZuruiKitsune/ImageProcess",
5
+ "tokenizer_type": "transformers",
6
+ "classes": ["lineart", "sketch", "cartoon", "painting"],
7
+ "preprocess_params": {
8
+ "resize": {
9
+ "size": 256,
10
+ "interpolation": 1
11
+ },
12
+ "normalization": {
13
+ "mean": [0.485, 0.456, 0.406],
14
+ "std": [0.229, 0.224, 0.225]
15
+ },
16
+ "padding": {
17
+ "size": 256,
18
+ "padding_mode": "border",
19
+ "value": 0
20
+ }
21
+ },
22
+ "postprocess_params": {
23
+ "resize": {
24
+ "size": 512,
25
+ "interpolation": 1
26
+ }
27
+ }
28
+ }