dglownia commited on
Commit
33e10c2
·
1 Parent(s): 090fa75

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +37 -0
README.md CHANGED
@@ -35,3 +35,40 @@ by Daniel Glownia
35
  | Train | 85,085 |
36
  | Test | 2,500 |
37
  | Validation | 2,500 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  | Train | 85,085 |
36
  | Test | 2,500 |
37
  | Validation | 2,500 |
38
+
39
+ ## CNN Implementation
40
+
41
+ - MobileNetV3 as base model(transfer learning)
42
+ - Trained on 100 epochs
43
+ - Optimizer: Adam
44
+ - Loss: Categorical Cross Entropy
45
+
46
+ ```python
47
+ epochs = 100
48
+ batch_size = 256
49
+
50
+ inputs = pretrained_model.input
51
+ x = processing_layers(inputs)
52
+
53
+ x = Dense(256, activation='relu')(pretrained_model.output)
54
+ x = Dropout(0.2)(x)
55
+ x = Dense(128, activation='relu')(x)
56
+ x = Dropout(0.2)(x)
57
+ x = Dense(64, activation='relu')(x)
58
+ x = Dropout(0.2)(x)
59
+
60
+
61
+ outputs = Dense(500, activation='softmax')(x)
62
+
63
+ model = Model(inputs=inputs, outputs=outputs)
64
+ ```
65
+
66
+ ## Results
67
+
68
+ | Dataset | Accuracy |
69
+ | ------------- | ------------- |
70
+ | Train | 84.87% |
71
+ | Test | 92.20% |
72
+ | Validation | 93.36% |
73
+
74
+ ![plot](loss.png)