Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1 |
-
---
|
2 |
-
license: mit
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
---
|
4 |
+
|
5 |
+
see https://github.com/ZreXoc/nailong-classification
|
6 |
+
|
7 |
+
model saved with:
|
8 |
+
|
9 |
+
```python
|
10 |
+
checkpoint = {'model': model.state_dict(), 'optimizer': optimizer.state_dict(), \
|
11 |
+
'epoch': epoch}
|
12 |
+
torch.save(checkpoint , path)
|
13 |
+
|
14 |
+
```
|