Skip to content

Commit b7c88b5

Browse files
committed
model architecture
2 parents 62bd555 + fb8de6a commit b7c88b5

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

lenet5/lenet5.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,8 @@ def forward(self, x):
3636
out = self.convnet(x)
3737
out = out.view(x.size(0), -1)
3838
out = self.fc(out)
39-
return out
39+
<<<<<<< HEAD
40+
return out
41+
=======
42+
return out
43+
>>>>>>> fb8de6a3d021d0f15290d23e9c70cc89f5564c4b

lenet5/main.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,8 @@
9898
print('Test Accuracy of the model on the 10000 test images: {} %'.format(100 * correct / total))
9999

100100
# Save the model checkpoint
101-
torch.save(model.state_dict(), 'model.ckpt')
101+
<<<<<<< HEAD
102+
torch.save(model.state_dict(), 'model.ckpt')
103+
=======
104+
torch.save(model.state_dict(), 'model.ckpt')
105+
>>>>>>> fb8de6a3d021d0f15290d23e9c70cc89f5564c4b

0 commit comments

Comments
 (0)