Closed abdelaziz-mahdy closed 2 years ago
I saw that it's possible to export to TorchScript, which can also be used in pytorch_lite. But I have not tried it myself.
May I ask for what the command should look like as an example
To test it and add it to the package in case someone needs it
The command is exactly like how you'd export a yolov5 model.
We can use the export.py https://github.com/dnth/yolov5-deepsparse-blogpost/blob/main/yolov5-train/export.py
And run
python export.py --weights yolov5s.pt --include torchscript
Thank you ❤️
I saw that on the colab code the export is to onnx model
Can we export to pytorch lite model?