Suhani-2407 commited on
Commit
2c68697
·
verified ·
1 Parent(s): 43703a2

Rename model-index.json to config.json

Browse files
Files changed (2) hide show
  1. config.json +26 -0
  2. model-index.json +0 -5
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": ["MobileNet"],
3
+ "model_type": "mobilenet",
4
+ "framework": "tf",
5
+ "num_classes": 4,
6
+ "input_shape": [128, 128, 3],
7
+ "base_model": {
8
+ "name": "mobilenet",
9
+ "weights": "imagenet",
10
+ "include_top": false,
11
+ "trainable": false
12
+ },
13
+ "custom_layers": [
14
+ {"type": "GlobalAveragePooling2D"},
15
+ {"type": "Dense", "units": 128, "activation": "relu"},
16
+ {"type": "Dropout", "rate": 0.5},
17
+ {"type": "Dense", "units": 4, "activation": "softmax"}
18
+ ],
19
+ "optimizer": {
20
+ "name": "Adam",
21
+ "learning_rate": 0.001
22
+ },
23
+ "loss": "categorical_crossentropy",
24
+ "metrics": ["accuracy"],
25
+ "class_names": ["Fake", "Low", "Medium", "High"]
26
+ }
model-index.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "name": "MobileNet_Fire",
3
- "task": "image-classification",
4
- "framework": "fastapi"
5
- }