Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

corrected path for predict.py in resnet50 #595

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions PyTorch/cv/resnet50/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,13 @@ Test Error:
Once the model is trained and saved we can now run the prediction using the following steps. The predict script will use that latest trained model from the checkpoints folder.

```
python pytorch\cv\squeezenet\predict.py --image E:\a.jpeg
python pytorch\cv\resnet50\predict.py --image E:\a.jpeg
```

You should see the result such as this:

```
E:\work\dml>python pytorch\cv\squeezenet\predict.py --image E:\a.jpeg
E:\work\dml>python pytorch\cv\resnet50\predict.py --image E:\a.jpeg
hammerhead 0.35642221570014954
stingray 0.34619468450546265
electric ray 0.09593362361192703
Expand Down Expand Up @@ -260,4 +260,4 @@ Done! with highest_accuracy: 0
- [Alternative training data (CIFAR-10)](https://www.cs.toronto.edu/~kriz/cifar.html)

Alternative implementations:
- [ONNX](https://github.com/onnx/models/tree/master/vision/classification/resnet)
- [ONNX](https://github.com/onnx/models/tree/master/vision/classification/resnet)