Open blackCmd opened 2 years ago
I downloaded yolov5s.
And I exported yolov5s.torchscript.ptl using python export.py --weights yolov5s.pt --img 320 --include torchscript.
yolov5s.torchscript.ptl
python export.py --weights yolov5s.pt --img 320 --include torchscript
Then I got error when I click 'detect' button like below.
The error line is here.
ps. I changed mOutputRow value 25200to6300in PrePostProcessor.java because I exported 320 not 640
mOutputRow
to
in PrePostProcessor.java
I downloaded yolov5s.
And I exported
yolov5s.torchscript.ptl
usingpython export.py --weights yolov5s.pt --img 320 --include torchscript
.Then I got error when I click 'detect' button like below.![image](https://user-images.githubusercontent.com/13531174/147432940-5bb621ce-690b-40e3-a603-5344b44b6abb.png)
The error line is here.![image](https://user-images.githubusercontent.com/13531174/147432963-b21634a2-11bf-4380-b7f3-bec093b0d243.png)
ps. I changed
mOutputRow
value 25200to
6300in PrePostProcessor.java
because I exported 320 not 640