Upload folder using huggingface_hub
Browse files- config.json +49 -49
- model.onnx +3 -0
- preprocessor_config.json +33 -23
config.json
CHANGED
|
@@ -1,49 +1,49 @@
|
|
| 1 |
-
{
|
| 2 |
-
"architectures": [
|
| 3 |
-
"ResNetForImageClassification"
|
| 4 |
-
],
|
| 5 |
-
"depths": [
|
| 6 |
-
2,
|
| 7 |
-
2,
|
| 8 |
-
2,
|
| 9 |
-
2
|
| 10 |
-
],
|
| 11 |
-
"downsample_in_bottleneck": false,
|
| 12 |
-
"downsample_in_first_stage": false,
|
| 13 |
-
"dtype": "float32",
|
| 14 |
-
"embedding_size": 64,
|
| 15 |
-
"hidden_act": "relu",
|
| 16 |
-
"hidden_sizes": [
|
| 17 |
-
64,
|
| 18 |
-
128,
|
| 19 |
-
256,
|
| 20 |
-
512
|
| 21 |
-
],
|
| 22 |
-
"id2label": {
|
| 23 |
-
"0": "absent",
|
| 24 |
-
"1": "present"
|
| 25 |
-
},
|
| 26 |
-
"label2id": {
|
| 27 |
-
"absent": 0,
|
| 28 |
-
"present": 1
|
| 29 |
-
},
|
| 30 |
-
"layer_type": "basic",
|
| 31 |
-
"model_type": "resnet",
|
| 32 |
-
"num_channels": 3,
|
| 33 |
-
"out_features": [
|
| 34 |
-
"stage4"
|
| 35 |
-
],
|
| 36 |
-
"out_indices": [
|
| 37 |
-
4
|
| 38 |
-
],
|
| 39 |
-
"problem_type": "single_label_classification",
|
| 40 |
-
"stage_names": [
|
| 41 |
-
"stem",
|
| 42 |
-
"stage1",
|
| 43 |
-
"stage2",
|
| 44 |
-
"stage3",
|
| 45 |
-
"stage4"
|
| 46 |
-
],
|
| 47 |
-
"transformers_version": "
|
| 48 |
-
"use_cache": false
|
| 49 |
-
}
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"ResNetForImageClassification"
|
| 4 |
+
],
|
| 5 |
+
"depths": [
|
| 6 |
+
2,
|
| 7 |
+
2,
|
| 8 |
+
2,
|
| 9 |
+
2
|
| 10 |
+
],
|
| 11 |
+
"downsample_in_bottleneck": false,
|
| 12 |
+
"downsample_in_first_stage": false,
|
| 13 |
+
"dtype": "float32",
|
| 14 |
+
"embedding_size": 64,
|
| 15 |
+
"hidden_act": "relu",
|
| 16 |
+
"hidden_sizes": [
|
| 17 |
+
64,
|
| 18 |
+
128,
|
| 19 |
+
256,
|
| 20 |
+
512
|
| 21 |
+
],
|
| 22 |
+
"id2label": {
|
| 23 |
+
"0": "absent",
|
| 24 |
+
"1": "present"
|
| 25 |
+
},
|
| 26 |
+
"label2id": {
|
| 27 |
+
"absent": 0,
|
| 28 |
+
"present": 1
|
| 29 |
+
},
|
| 30 |
+
"layer_type": "basic",
|
| 31 |
+
"model_type": "resnet",
|
| 32 |
+
"num_channels": 3,
|
| 33 |
+
"out_features": [
|
| 34 |
+
"stage4"
|
| 35 |
+
],
|
| 36 |
+
"out_indices": [
|
| 37 |
+
4
|
| 38 |
+
],
|
| 39 |
+
"problem_type": "single_label_classification",
|
| 40 |
+
"stage_names": [
|
| 41 |
+
"stem",
|
| 42 |
+
"stage1",
|
| 43 |
+
"stage2",
|
| 44 |
+
"stage3",
|
| 45 |
+
"stage4"
|
| 46 |
+
],
|
| 47 |
+
"transformers_version": "4.57.6",
|
| 48 |
+
"use_cache": false
|
| 49 |
+
}
|
model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3a9adb185c8b812363251e68008ba69408c547871153215c6cf9eda3c32c1ff
|
| 3 |
+
size 44704970
|
preprocessor_config.json
CHANGED
|
@@ -1,23 +1,33 @@
|
|
| 1 |
-
{
|
| 2 |
-
"crop_pct": 0.875,
|
| 3 |
-
"
|
| 4 |
-
"
|
| 5 |
-
"
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
"
|
| 13 |
-
"
|
| 14 |
-
|
| 15 |
-
0.
|
| 16 |
-
0.
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
"
|
| 20 |
-
"
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_pct": 0.875,
|
| 3 |
+
"crop_size": null,
|
| 4 |
+
"data_format": "channels_first",
|
| 5 |
+
"default_to_square": false,
|
| 6 |
+
"device": null,
|
| 7 |
+
"disable_grouping": null,
|
| 8 |
+
"do_center_crop": null,
|
| 9 |
+
"do_convert_rgb": null,
|
| 10 |
+
"do_normalize": true,
|
| 11 |
+
"do_pad": null,
|
| 12 |
+
"do_rescale": true,
|
| 13 |
+
"do_resize": true,
|
| 14 |
+
"image_mean": [
|
| 15 |
+
0.485,
|
| 16 |
+
0.456,
|
| 17 |
+
0.406
|
| 18 |
+
],
|
| 19 |
+
"image_processor_type": "ConvNextImageProcessorFast",
|
| 20 |
+
"image_std": [
|
| 21 |
+
0.229,
|
| 22 |
+
0.224,
|
| 23 |
+
0.225
|
| 24 |
+
],
|
| 25 |
+
"input_data_format": null,
|
| 26 |
+
"pad_size": null,
|
| 27 |
+
"resample": 3,
|
| 28 |
+
"rescale_factor": 0.00392156862745098,
|
| 29 |
+
"return_tensors": null,
|
| 30 |
+
"size": {
|
| 31 |
+
"shortest_edge": 224
|
| 32 |
+
}
|
| 33 |
+
}
|