Closed formerlya closed 2 years ago
The wts file is wrong.
yes, my wts file is wrong. I use the newest gen_wts_yoloV5.py it say "YOLOv5 2022-5-16 Python-3.8.13 torch-1.8.0 CPU
'cat' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 " When I use the gen_wts_yoloV5.py download 60+ days ago, it worked. Then I get the right .wts for me. So it's some version problem? I succeeded two months ago.
Please install
sudo apt-get install coreutils
And try again using the new gen_wts_yoloV5.py
file
I obtain the exact same error using the last gen_wts_yoloV5.py maybe something is still wrong with it ? Ps: coreutils is already installed and up to date.
I'm just trying to use the default yolov5s or yolov5n models given by the yolov5 repo, and not a specific trained one. Hence, if you're not able to solve the problem, I would be very happy with the yolov5s.wts or yolov5n.wts that works :)
Thank you in advance for any kind of help
I obtain the exact same error using the last gen_wts_yoloV5.py maybe something is still wrong with it ? Ps: coreutils is already installed and up to date.
I'm just trying to use the default yolov5s or yolov5n models given by the yolov5 repo, and not a specific trained one. Hence, if you're not able to solve the problem, I would be very happy with the yolov5s.wts or yolov5n.wts that works :)
Thank you in advance for any kind of help
My problem is the version, then I use the old one.But I didn't try the newest. If you use the default yolo5,download the newest deepstream-yolo and install all the packages(check one by one). When generate the wts file, it should just print YOLOv5 2022-5-16 Python-3.8.13…… Good luck!
I obtain the exact same error using the last gen_wts_yoloV5.py maybe something is still wrong with it ? Ps: coreutils is already installed and up to date. I'm just trying to use the default yolov5s or yolov5n models given by the yolov5 repo, and not a specific trained one. Hence, if you're not able to solve the problem, I would be very happy with the yolov5s.wts or yolov5n.wts that works :) Thank you in advance for any kind of help
My problem is the version, then I use the old one.But I didn't try the newest. If you use the default yolo5,download the newest deepstream-yolo and install all the packages(check one by one). When generate the wts file, it should just print YOLOv5 2022-5-16 Python-3.8.13…… Good luck!
Would it be possible to send me the old one ? Because I already have the configuration that you suggest i.e "the newest deepstream-yolo" but I still have the same error.
Thank you in advance
Of course. What's your email address? @EdouardEPFL
edouard.deponnat "arobase" epfl.ch
Thank you very much
Ps: I wrote arobase for @ to avoid to get spam botted by automatic mail bot searchers, in case you wonder why
edouard.deponnat@epfl.ch? I searched that the epfl.ch is your college. Have you received the file? My pleasure.
edouard.deponnat@epfl.ch? I searched that the epfl.ch is your college. Have you received the file? My pleasure.
You're right, I confirm that I received the file. Thank you again !
There's a cat
command in the end of the gen_wts file. You need to install the package to run code without issues.
edouard.deponnat@epfl.ch? I searched that the epfl.ch is your college. Have you received the file? My pleasure.
I obtain the exact same error using the last gen_wts_yoloV5.py ,Would it be possible to send me the old one ? very thanks
Run sudo apt install --reinstall coreutils
to install cat
commandm, then convert you model again using the gen_wts.
deepstream-app version 6.0.1 DeepStreamSDK 6.0.1 CUDA Driver Version: 10.2 CUDA Runtime Version: 10.2 TensorRT Version: 8.2 cuDNN Version: 8.2 libNVWarp360 Version: 2.0.1d3
I trained yolov5n.pt(v6.0) Then I am implementing mobile phone detection of yolov5n v6.0 with deepstream6.0. when I use deepstream's gen_wts_yoloV5.py to get .wts .cfg,done. When I put them into deepstream and compiled and modified the relevant files,error.