Skip to content

Commit

Permalink
Fix command line for onnx_export.py
Browse files Browse the repository at this point in the history
Fix command line for onnx_export.py command. --model-dir should be 'models/plants', and not 'model/plants'
  • Loading branch information
fivefishstudios authored Sep 20, 2021
1 parent cb73202 commit a6eca8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pytorch-plants.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Note that the models are saved under `jetson-inference/python/training/classific
Just like with the Cat/Dog example, next we need to convert our trained model from PyTorch to ONNX, so that we can load it with TensorRT:

``` bash
python3 onnx_export.py --model-dir=model/plants
python3 onnx_export.py --model-dir=models/plants
```

This will create a model called `resnet18.onnx` under `jetson-inference/python/training/classification/models/plants/`
Expand Down

0 comments on commit a6eca8c

Please sign in to comment.