Upload config.json with huggingface_hub
Browse files- config.json +46 -0
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "fxmarty/resnet-tiny-beans",
|
3 |
+
"architectures": [
|
4 |
+
"ResNetForImageClassification"
|
5 |
+
],
|
6 |
+
"depths": [
|
7 |
+
2,
|
8 |
+
2
|
9 |
+
],
|
10 |
+
"downsample_in_first_stage": false,
|
11 |
+
"embedding_size": 64,
|
12 |
+
"finetuning_task": "image-classification",
|
13 |
+
"hidden_act": "relu",
|
14 |
+
"hidden_sizes": [
|
15 |
+
32,
|
16 |
+
64
|
17 |
+
],
|
18 |
+
"id2label": {
|
19 |
+
"0": "angular_leaf_spot",
|
20 |
+
"1": "bean_rust",
|
21 |
+
"2": "healthy"
|
22 |
+
},
|
23 |
+
"image_size": 224,
|
24 |
+
"label2id": {
|
25 |
+
"angular_leaf_spot": "0",
|
26 |
+
"bean_rust": "1",
|
27 |
+
"healthy": "2"
|
28 |
+
},
|
29 |
+
"layer_type": "basic",
|
30 |
+
"model_type": "resnet",
|
31 |
+
"num_channels": 3,
|
32 |
+
"out_features": [
|
33 |
+
"stage2"
|
34 |
+
],
|
35 |
+
"out_indices": [
|
36 |
+
2
|
37 |
+
],
|
38 |
+
"problem_type": "single_label_classification",
|
39 |
+
"stage_names": [
|
40 |
+
"stem",
|
41 |
+
"stage1",
|
42 |
+
"stage2"
|
43 |
+
],
|
44 |
+
"torch_dtype": "float32",
|
45 |
+
"transformers_version": "4.28.1"
|
46 |
+
}
|