Update config.json
Browse files- config.json +36 -53
config.json
CHANGED
@@ -1,14 +1,15 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
|
5 |
-
|
6 |
-
"
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
|
|
12 |
"0": "Alpinia Galanga (Rasna)",
|
13 |
"1": "Amaranthus Viridis (Arive-Dantu)",
|
14 |
"2": "Artocarpus Heterophyllus (Jackfruit)",
|
@@ -40,48 +41,30 @@
|
|
40 |
"28": "Tabernaemontana Divaricata (Crape Jasmine)",
|
41 |
"29": "Trigonella Foenum-graecum (Fenugreek)"
|
42 |
},
|
43 |
-
|
44 |
-
"
|
45 |
-
|
46 |
-
|
47 |
-
"
|
48 |
-
"
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
"
|
53 |
-
"
|
54 |
-
"
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
"
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
"
|
64 |
-
"
|
65 |
-
"
|
66 |
-
"
|
67 |
-
"Piper Betle (Betel)": "20",
|
68 |
-
"Plectranthus Amboinicus (Mexican Mint)": "21",
|
69 |
-
"Pongamia Pinnata (Indian Beech)": "22",
|
70 |
-
"Psidium Guajava (Guava)": "23",
|
71 |
-
"Punica Granatum (Pomegranate)": "24",
|
72 |
-
"Santalum Album (Sandalwood)": "25",
|
73 |
-
"Syzygium Cumini (Jamun)": "26",
|
74 |
-
"Syzygium Jambos (Rose Apple)": "27",
|
75 |
-
"Tabernaemontana Divaricata (Crape Jasmine)": "28",
|
76 |
-
"Trigonella Foenum-graecum (Fenugreek)": "29"
|
77 |
},
|
78 |
-
"layer_norm_eps": 1e-12,
|
79 |
-
"model_type": "vit",
|
80 |
-
"num_attention_heads": 12,
|
81 |
-
"num_channels": 3,
|
82 |
-
"num_hidden_layers": 12,
|
83 |
-
"patch_size": 16,
|
84 |
-
"torch_dtype": "float32",
|
85 |
-
"transformers_version": "4.8.1",
|
86 |
"from_tf": True
|
87 |
-
}
|
|
|
1 |
{
|
2 |
+
"model_type": "resnet50",
|
3 |
+
"model_name": "my_resnet_model",
|
4 |
+
"description": "A custom ResNet-50 based model for image classification",
|
5 |
+
|
6 |
+
"data": {
|
7 |
+
"input_shape": [250, 250, 3],
|
8 |
+
"num_classes": 30,
|
9 |
+
"data_augmentation": true
|
10 |
+
},
|
11 |
+
|
12 |
+
"class_names": {
|
13 |
"0": "Alpinia Galanga (Rasna)",
|
14 |
"1": "Amaranthus Viridis (Arive-Dantu)",
|
15 |
"2": "Artocarpus Heterophyllus (Jackfruit)",
|
|
|
41 |
"28": "Tabernaemontana Divaricata (Crape Jasmine)",
|
42 |
"29": "Trigonella Foenum-graecum (Fenugreek)"
|
43 |
},
|
44 |
+
|
45 |
+
"architecture": {
|
46 |
+
"base_model": "ResNet50",
|
47 |
+
"include_top": false,
|
48 |
+
"weights": "imagenet",
|
49 |
+
"trainable": false
|
50 |
+
},
|
51 |
+
|
52 |
+
"layers": {
|
53 |
+
"global_average_pooling": true,
|
54 |
+
"dropout_rate": 0.2,
|
55 |
+
"dense_units": 512
|
56 |
+
},
|
57 |
+
|
58 |
+
"training": {
|
59 |
+
"optimizer": {
|
60 |
+
"optimizer_type": "Adam",
|
61 |
+
"learning_rate": 0.0001,
|
62 |
+
"weight_decay": 1e-4
|
63 |
+
},
|
64 |
+
"loss_function": "SparseCategoricalCrossentropy",
|
65 |
+
"metrics": ["accuracy"],
|
66 |
+
"num_epochs": 25,
|
67 |
+
"batch_size": 32
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
"from_tf": True
|
70 |
+
}
|