Upload 8 files
Browse files- imagerater/config.json +35 -0
- imagerater/model.safetensors +3 -0
- imagerater/preprocessor_config.json +23 -0
- segmentator/anime-segmentation.ckpt +3 -0
- sketchextractor/anime2sketch.pth +3 -0
- wdtagger/config.json +37 -0
- wdtagger/model.safetensors +3 -0
- wdtagger/selected_tags.csv +0 -0
imagerater/config.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"ViTForImageClassification"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0,
|
| 6 |
+
"encoder_stride": 16,
|
| 7 |
+
"hidden_act": "gelu",
|
| 8 |
+
"hidden_dropout_prob": 0,
|
| 9 |
+
"hidden_size": 768,
|
| 10 |
+
"id2label": {
|
| 11 |
+
"0": "cute",
|
| 12 |
+
"1": "erotic",
|
| 13 |
+
"2": "sexy"
|
| 14 |
+
},
|
| 15 |
+
"image_size": 224,
|
| 16 |
+
"initializer_range": 0.02,
|
| 17 |
+
"intermediate_size": 3072,
|
| 18 |
+
"label2id": {
|
| 19 |
+
"cute": "0",
|
| 20 |
+
"erotic": "1",
|
| 21 |
+
"sexy": "2"
|
| 22 |
+
},
|
| 23 |
+
"layer_norm_eps": 1e-12,
|
| 24 |
+
"model_type": "vit",
|
| 25 |
+
"num_attention_heads": 12,
|
| 26 |
+
"num_channels": 3,
|
| 27 |
+
"num_hidden_layers": 12,
|
| 28 |
+
"patch_size": 16,
|
| 29 |
+
"pooler_act": "tanh",
|
| 30 |
+
"pooler_output_size": 768,
|
| 31 |
+
"problem_type": "single_label_classification",
|
| 32 |
+
"qkv_bias": true,
|
| 33 |
+
"torch_dtype": "float32",
|
| 34 |
+
"transformers_version": "4.54.0"
|
| 35 |
+
}
|
imagerater/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:940067457bd70b7b219c50033071384c673843df476402c68bcf7dfb88e1aeec
|
| 3 |
+
size 343227052
|
imagerater/preprocessor_config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_convert_rgb": null,
|
| 3 |
+
"do_normalize": true,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 6 |
+
"image_mean": [
|
| 7 |
+
0.5,
|
| 8 |
+
0.5,
|
| 9 |
+
0.5
|
| 10 |
+
],
|
| 11 |
+
"image_processor_type": "ViTImageProcessor",
|
| 12 |
+
"image_std": [
|
| 13 |
+
0.5,
|
| 14 |
+
0.5,
|
| 15 |
+
0.5
|
| 16 |
+
],
|
| 17 |
+
"resample": 2,
|
| 18 |
+
"rescale_factor": 0.00392156862745098,
|
| 19 |
+
"size": {
|
| 20 |
+
"height": 224,
|
| 21 |
+
"width": 224
|
| 22 |
+
}
|
| 23 |
+
}
|
segmentator/anime-segmentation.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c8f6b9a77386c54dcdbf55b6c917108c4bdf4328abca9152c7bce5727b74d18
|
| 3 |
+
size 204275908
|
sketchextractor/anime2sketch.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ccabdcc3f5cf3c07cf65d58776acb21df7dfda825cdc70c9766a93fd62bfc488
|
| 3 |
+
size 217631959
|
wdtagger/config.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "swinv2_base_window8_256",
|
| 3 |
+
"num_classes": 10861,
|
| 4 |
+
"num_features": 1024,
|
| 5 |
+
"global_pool": "avg",
|
| 6 |
+
"model_args": {
|
| 7 |
+
"act_layer": "gelu_tanh",
|
| 8 |
+
"img_size": 448,
|
| 9 |
+
"window_size": 14
|
| 10 |
+
},
|
| 11 |
+
"pretrained_cfg": {
|
| 12 |
+
"custom_load": false,
|
| 13 |
+
"input_size": [
|
| 14 |
+
3,
|
| 15 |
+
448,
|
| 16 |
+
448
|
| 17 |
+
],
|
| 18 |
+
"fixed_input_size": false,
|
| 19 |
+
"interpolation": "bicubic",
|
| 20 |
+
"crop_pct": 1,
|
| 21 |
+
"crop_mode": "center",
|
| 22 |
+
"mean": [
|
| 23 |
+
0.5,
|
| 24 |
+
0.5,
|
| 25 |
+
0.5
|
| 26 |
+
],
|
| 27 |
+
"std": [
|
| 28 |
+
0.5,
|
| 29 |
+
0.5,
|
| 30 |
+
0.5
|
| 31 |
+
],
|
| 32 |
+
"num_classes": 10861,
|
| 33 |
+
"pool_size": null,
|
| 34 |
+
"first_conv": null,
|
| 35 |
+
"classifier": null
|
| 36 |
+
}
|
| 37 |
+
}
|
wdtagger/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39fe04000d5907a0a7616df54af744d43fbd70b5fba7abc3135d3675734c03ef
|
| 3 |
+
size 392149220
|
wdtagger/selected_tags.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|