abdurafay19 commited on
Commit
6efd40a
·
verified ·
1 Parent(s): a51bcf9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -91,7 +91,7 @@ from model import CNN # your model definition
91
 
92
  # Load model
93
  model = CNN()
94
- model.load_state_dict(torch.load("model.pth"))
95
  model.eval()
96
 
97
  # Preprocess image
@@ -146,7 +146,7 @@ print(f"Predicted digit: {prediction}")
146
  #### Speeds, Sizes, Times
147
 
148
  - **Training time:** ~10 minutes on a single GPU (NVIDIA T4)
149
- - **Model size:** ~1.9 MB (`.pth` file)
150
  - **Inference speed:** <50ms per image (CPU)
151
 
152
  ---
 
91
 
92
  # Load model
93
  model = CNN()
94
+ model.load_state_dict(torch.load("model.pt"))
95
  model.eval()
96
 
97
  # Preprocess image
 
146
  #### Speeds, Sizes, Times
147
 
148
  - **Training time:** ~10 minutes on a single GPU (NVIDIA T4)
149
+ - **Model size:** ~1.9 MB (`.pt` file)
150
  - **Inference speed:** <50ms per image (CPU)
151
 
152
  ---