YiLi

Results 8 comments of YiLi

I solved it by running the below command when exporting to "torchscript": python export.py --weights yolov5l.pt --device 0 --inplace But when I export with the above command, there is some...

I solved this by changing some codes in the export.py from YoLoV5 repo.

Thanks very much for your reply. Now I could not run with the torchscript model exported in GPU mode. Do you know how to solve it?

@1chimaruGin @yy2lyx You can follow the instructions in this repo. I tried successfully with GPU + Linux environment. https://github.com/yasenh/libtorch-yolov5

@caixiong110 I am facing the same error as you. Do you have any solution?

@Apostatee The root cause for this error is that pytorch version and libtorch are not the same. you can check your pytorch version and it has nothing to do with...

@zhiqwang so, for yolov5-tagV5.0 when exporting, the following command should be run in order to be able to run with this repo? python export.py --weights yolov5l.pt --device 0 --inplace --train

> You can edit existing annotations by opening the annotations folder through Change Save Dir. Awesome solution.