rhendz commited on
Commit
9608863
·
1 Parent(s): aaa7353

Upload model

Browse files
Files changed (2) hide show
  1. modeling_spice_cnn.py +2 -1
  2. pytorch_model.bin +2 -2
modeling_spice_cnn.py CHANGED
@@ -37,8 +37,9 @@ class SpiceCNNModelForImageClassification(PreTrainedModel):
37
  nn.Dropout(0.4),
38
 
39
  nn.Flatten(),
40
- nn.Linear(64 * 28 * 28, 128),
41
  nn.BatchNorm1d(128),
 
42
  nn.Dropout(0.4),
43
  nn.Linear(128, config.num_classes),
44
  ]
 
37
  nn.Dropout(0.4),
38
 
39
  nn.Flatten(),
40
+ nn.Linear(64 * 5 * 5, 128),
41
  nn.BatchNorm1d(128),
42
+ nn.ReLU(),
43
  nn.Dropout(0.4),
44
  nn.Linear(128, config.num_classes),
45
  ]
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:60d140c12a803582c4e3e7b0d2e52fbfb492477523541fa0ec719ce40b47358d
3
- size 26487547
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60777acb6fdfb226898e754740abf81831deff984d549ee2645db4aa7fa16c29
3
+ size 1616635