alcheung0213 commited on
Commit
baa7e0f
·
1 Parent(s): cc7a0e7

fixing errors in readme

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -62,7 +62,7 @@ To utilize this model:
62
  from model import ResNet50_28
63
 
64
  model = ResNet50_28(num_classes=9)
65
- model.load_state_dict(torch.load('path_to_checkpoint.pt')['model_state_dict'])
66
  model.eval()
67
  ```
68
 
 
62
  from model import ResNet50_28
63
 
64
  model = ResNet50_28(num_classes=9)
65
+ model.load_state_dict(torch.load('pytorch_model.bin'))
66
  model.eval()
67
  ```
68