Upload folder using huggingface_hub
Browse files- config.json +14 -0
- model.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- preprocessor_config.json +23 -0
config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_type": "swin",
|
3 |
+
"image_size": 224,
|
4 |
+
"num_channels": 3,
|
5 |
+
"num_labels": 2,
|
6 |
+
"id2label": {
|
7 |
+
"0": "artificial",
|
8 |
+
"1": "human"
|
9 |
+
},
|
10 |
+
"label2id": {
|
11 |
+
"artificial": 0,
|
12 |
+
"human": 1
|
13 |
+
}
|
14 |
+
}
|
model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b10786d0e1b09e32366a66ef8c871a909fd1f3e313073b22af71d190516eb635
|
3 |
+
size 421807658
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:91fdafa98dc74144dc4a4371ce0533dd0df9ff20b928aa752ac65fd488467f1f
|
3 |
+
size 162702778
|
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.485,
|
8 |
+
0.456,
|
9 |
+
0.406
|
10 |
+
],
|
11 |
+
"image_processor_type": "ViTImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"height": 224,
|
21 |
+
"width": 224
|
22 |
+
}
|
23 |
+
}
|