Upload folder using huggingface_hub
Browse files- config.json +24 -0
- preprocessor_config.json +23 -0
config.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"EnsembleForImageClassification"
|
| 4 |
+
],
|
| 5 |
+
"model_type": "ensemble",
|
| 6 |
+
"num_channels": 3,
|
| 7 |
+
"num_labels": 2,
|
| 8 |
+
"id2label": {
|
| 9 |
+
"0": "Normal",
|
| 10 |
+
"1": "Tuberculosis"
|
| 11 |
+
},
|
| 12 |
+
"label2id": {
|
| 13 |
+
"Normal": 0,
|
| 14 |
+
"Tuberculosis": 1
|
| 15 |
+
},
|
| 16 |
+
"image_size": 224,
|
| 17 |
+
"models": [
|
| 18 |
+
"vgg16",
|
| 19 |
+
"resnet50",
|
| 20 |
+
"densenet121",
|
| 21 |
+
"inceptionv3",
|
| 22 |
+
"efficientnetb3"
|
| 23 |
+
]
|
| 24 |
+
}
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": {
|
| 3 |
+
"height": 224,
|
| 4 |
+
"width": 224
|
| 5 |
+
},
|
| 6 |
+
"do_center_crop": true,
|
| 7 |
+
"do_normalize": true,
|
| 8 |
+
"do_resize": true,
|
| 9 |
+
"feature_extractor_type": "ImageFeatureExtractor",
|
| 10 |
+
"model_type": "ensemble",
|
| 11 |
+
"image_mean": [
|
| 12 |
+
0.485,
|
| 13 |
+
0.456,
|
| 14 |
+
0.406
|
| 15 |
+
],
|
| 16 |
+
"image_std": [
|
| 17 |
+
0.229,
|
| 18 |
+
0.224,
|
| 19 |
+
0.225
|
| 20 |
+
],
|
| 21 |
+
"resample": 3,
|
| 22 |
+
"size": 224
|
| 23 |
+
}
|