Upload 3 files
Browse files- config.json +105 -0
- model.safetensors +3 -0
- preprocessor_config.json +30 -0
config.json
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"EfficientNetForImageClassification"
|
| 4 |
+
],
|
| 5 |
+
"batch_norm_eps": 0.001,
|
| 6 |
+
"batch_norm_momentum": 0.99,
|
| 7 |
+
"depth_coefficient": 1.0,
|
| 8 |
+
"depth_divisor": 8,
|
| 9 |
+
"depthwise_padding": [],
|
| 10 |
+
"drop_connect_rate": 0.2,
|
| 11 |
+
"dropout_rate": 0.2,
|
| 12 |
+
"dtype": "float32",
|
| 13 |
+
"expand_ratios": [
|
| 14 |
+
1,
|
| 15 |
+
6,
|
| 16 |
+
6,
|
| 17 |
+
6,
|
| 18 |
+
6,
|
| 19 |
+
6,
|
| 20 |
+
6
|
| 21 |
+
],
|
| 22 |
+
"hidden_act": "swish",
|
| 23 |
+
"hidden_dim": 1280,
|
| 24 |
+
"id2label": {
|
| 25 |
+
"0": "tugas",
|
| 26 |
+
"1": "anime_girl",
|
| 27 |
+
"2": "femboy",
|
| 28 |
+
"3": "porn",
|
| 29 |
+
"4": "jomok",
|
| 30 |
+
"5": "other"
|
| 31 |
+
},
|
| 32 |
+
"image_size": 224,
|
| 33 |
+
"in_channels": [
|
| 34 |
+
32,
|
| 35 |
+
16,
|
| 36 |
+
24,
|
| 37 |
+
40,
|
| 38 |
+
80,
|
| 39 |
+
112,
|
| 40 |
+
192
|
| 41 |
+
],
|
| 42 |
+
"initializer_range": 0.02,
|
| 43 |
+
"kernel_sizes": [
|
| 44 |
+
3,
|
| 45 |
+
3,
|
| 46 |
+
5,
|
| 47 |
+
3,
|
| 48 |
+
5,
|
| 49 |
+
5,
|
| 50 |
+
3
|
| 51 |
+
],
|
| 52 |
+
"label2id": {
|
| 53 |
+
"anime_girl": 1,
|
| 54 |
+
"femboy": 2,
|
| 55 |
+
"jomok": 4,
|
| 56 |
+
"other": 5,
|
| 57 |
+
"porn": 3,
|
| 58 |
+
"tugas": 0
|
| 59 |
+
},
|
| 60 |
+
"model_type": "efficientnet",
|
| 61 |
+
"num_block_repeats": [
|
| 62 |
+
1,
|
| 63 |
+
2,
|
| 64 |
+
2,
|
| 65 |
+
3,
|
| 66 |
+
3,
|
| 67 |
+
4,
|
| 68 |
+
1
|
| 69 |
+
],
|
| 70 |
+
"num_channels": 3,
|
| 71 |
+
"num_hidden_layers": 64,
|
| 72 |
+
"out_channels": [
|
| 73 |
+
16,
|
| 74 |
+
24,
|
| 75 |
+
40,
|
| 76 |
+
80,
|
| 77 |
+
112,
|
| 78 |
+
192,
|
| 79 |
+
320
|
| 80 |
+
],
|
| 81 |
+
"out_features": null,
|
| 82 |
+
"pooling_type": "mean",
|
| 83 |
+
"squeeze_expansion_ratio": 0.25,
|
| 84 |
+
"stage_names": [
|
| 85 |
+
"stem",
|
| 86 |
+
"stage1",
|
| 87 |
+
"stage2",
|
| 88 |
+
"stage3",
|
| 89 |
+
"stage4",
|
| 90 |
+
"stage5",
|
| 91 |
+
"stage6",
|
| 92 |
+
"stage7"
|
| 93 |
+
],
|
| 94 |
+
"strides": [
|
| 95 |
+
1,
|
| 96 |
+
2,
|
| 97 |
+
2,
|
| 98 |
+
2,
|
| 99 |
+
1,
|
| 100 |
+
2,
|
| 101 |
+
1
|
| 102 |
+
],
|
| 103 |
+
"transformers_version": "5.0.0",
|
| 104 |
+
"width_coefficient": 1.0
|
| 105 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47ef72411aaf2b6fb224ffa2468d61dfc584b8872f9e24acf58f0b71e4b42968
|
| 3 |
+
size 16275624
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": {
|
| 3 |
+
"height": 289,
|
| 4 |
+
"width": 289
|
| 5 |
+
},
|
| 6 |
+
"data_format": "channels_first",
|
| 7 |
+
"do_center_crop": false,
|
| 8 |
+
"do_normalize": true,
|
| 9 |
+
"do_rescale": true,
|
| 10 |
+
"do_resize": true,
|
| 11 |
+
"image_mean": [
|
| 12 |
+
0.485,
|
| 13 |
+
0.456,
|
| 14 |
+
0.406
|
| 15 |
+
],
|
| 16 |
+
"image_processor_type": "EfficientNetImageProcessorFast",
|
| 17 |
+
"image_std": [
|
| 18 |
+
0.47853944,
|
| 19 |
+
0.4732864,
|
| 20 |
+
0.47434163
|
| 21 |
+
],
|
| 22 |
+
"include_top": true,
|
| 23 |
+
"resample": 0,
|
| 24 |
+
"rescale_factor": 0.00392156862745098,
|
| 25 |
+
"rescale_offset": false,
|
| 26 |
+
"size": {
|
| 27 |
+
"height": 224,
|
| 28 |
+
"width": 224
|
| 29 |
+
}
|
| 30 |
+
}
|