JamesJayamuni commited on
Commit
0470489
1 Parent(s): 5685f8c

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +39 -0
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name": "ResNet50",
3
+ "input_shape": [180, 180, 3],
4
+ "num_classes": 5,
5
+ "layers": [
6
+ {
7
+ "type": "ResNet50",
8
+ "include_top": false,
9
+ "weights": "imagenet"
10
+ },
11
+ {
12
+ "type": "Flatten"
13
+ },
14
+ {
15
+ "type": "Dense",
16
+ "units": 512,
17
+ "activation": "relu"
18
+ },
19
+ {
20
+ "type": "Dense",
21
+ "units": 5,
22
+ "activation": "softmax"
23
+ }
24
+ ],
25
+ "training": {
26
+ "batch_size": 8,
27
+ "epochs": 10,
28
+ "optimizer": "Adam",
29
+ "learning_rate": 0.001,
30
+ "loss": "categorical_crossentropy",
31
+ "metrics": ["accuracy"]
32
+ },
33
+ "dataset": {
34
+ "url": "https://storage.googleapis.com/download.tensorflow.org/example_images/flower_photos.tgz",
35
+ "validation_split": 0.25,
36
+ "image_size": [180, 180],
37
+ "label_mode": "categorical"
38
+ }
39
+ }