We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a68c57 commit 1c65a23Copy full SHA for 1c65a23
test_main.py
@@ -37,7 +37,7 @@ def test_image_class(self):
37
output_file_path = os.path.join(output_dir, "output_prediction.txt")
38
39
model = MobileNetV2()
40
- model.load_state_dict(torch.load(".model/weights/mobilenetv2.pt", weights_only=True)) # weights ported from torchvision
+ model.load_state_dict(torch.load("./model/weights/mobilenetv2.pt", weights_only=True)) # weights ported from torchvision
41
model.float()
42
43
predicted_label = main.inference(model, resized_image_path,
0 commit comments