GiladtheFixer commited on
Commit
8c24916
·
verified ·
1 Parent(s): 1e5cd1c

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +92 -0
config.json ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "cnn",
3
+ "architecture": {
4
+ "type": "sequential",
5
+ "layers": [
6
+ {
7
+ "type": "data_augmentation"
8
+ },
9
+ {
10
+ "type": "conv2d",
11
+ "filters": 32,
12
+ "kernel_size": 3,
13
+ "activation": "relu"
14
+ },
15
+ {
16
+ "type": "batch_normalization"
17
+ },
18
+ {
19
+ "type": "max_pooling2d",
20
+ "pool_size": 2
21
+ },
22
+ {
23
+ "type": "conv2d",
24
+ "filters": 64,
25
+ "kernel_size": 3,
26
+ "activation": "relu"
27
+ },
28
+ {
29
+ "type": "batch_normalization"
30
+ },
31
+ {
32
+ "type": "max_pooling2d",
33
+ "pool_size": 2
34
+ },
35
+ {
36
+ "type": "flatten"
37
+ },
38
+ {
39
+ "type": "dense",
40
+ "units": 256,
41
+ "activation": "relu"
42
+ },
43
+ {
44
+ "type": "batch_normalization"
45
+ },
46
+ {
47
+ "type": "dropout",
48
+ "rate": 0.3
49
+ },
50
+ {
51
+ "type": "dense",
52
+ "units": 128,
53
+ "activation": "relu"
54
+ },
55
+ {
56
+ "type": "batch_normalization"
57
+ },
58
+ {
59
+ "type": "dropout",
60
+ "rate": 0.2
61
+ },
62
+ {
63
+ "type": "dense",
64
+ "units": 10,
65
+ "activation": "softmax"
66
+ }
67
+ ]
68
+ },
69
+ "training_config": {
70
+ "optimizer": {
71
+ "type": "adam",
72
+ "learning_rate": 0.001,
73
+ "beta_1": 0.9,
74
+ "beta_2": 0.999
75
+ },
76
+ "loss": "sparse_categorical_crossentropy",
77
+ "metrics": [
78
+ "accuracy"
79
+ ],
80
+ "epochs": 20,
81
+ "batch_size": 32,
82
+ "validation_split": 0.2
83
+ },
84
+ "preprocessing": {
85
+ "input_normalization": "divide_by_255",
86
+ "input_shape": [
87
+ 28,
88
+ 28,
89
+ 1
90
+ ]
91
+ }
92
+ }