shadowlilac
commited on
Commit
•
8cbbf62
1
Parent(s):
a2f7f3c
Upload 2 files
Browse files- config.json +32 -0
- preprocessor_config.json +22 -0
config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "shadowlilac/aesthetic-shadow",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 1536,
|
11 |
+
"id2label": {
|
12 |
+
"0": "hq",
|
13 |
+
"1": "lq"
|
14 |
+
},
|
15 |
+
"image_size": 1024,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 4192,
|
18 |
+
"label2id": {
|
19 |
+
"hq": "0",
|
20 |
+
"lq": "1"
|
21 |
+
},
|
22 |
+
"layer_norm_eps": 1e-12,
|
23 |
+
"model_type": "vit",
|
24 |
+
"num_attention_heads": 16,
|
25 |
+
"num_channels": 3,
|
26 |
+
"num_hidden_layers": 48,
|
27 |
+
"patch_size": 64,
|
28 |
+
"problem_type": "single_label_classification",
|
29 |
+
"qkv_bias": true,
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.37.2"
|
32 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.65463551,
|
7 |
+
0.60715182,
|
8 |
+
0.61108185
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.32903292,
|
13 |
+
0.32726001,
|
14 |
+
0.31909652
|
15 |
+
],
|
16 |
+
"resample": 2,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 1024,
|
20 |
+
"width": 1024
|
21 |
+
}
|
22 |
+
}
|