Open arthurwolf opened 9 months ago
Hi Arthur. This seems like a compatability issue with newer versions of PyTorch. You may check ultralytics/yolov5#6948 for the versions to use. Switching to PyTorch 1.9 or 1.10 might work.
Hope it helps!
Thanks for the help, moving to python3.7 (using pyenv) and torch 1.9 worked.
Deleted the previous comment as I figured out what was going on: the model/weights file was 0 bytes. This actually comes from the download failing, which seems to come from the google drive link being broken: clicking "download" gives me either a download error or an empty file.
Would you mind checking on the file and/or uploading it somewhere else?
(also, what does the output in the --save-txt files mean/how to interpret it exactly? edit: figured some of it out from the source code, it's xywh, I'm going to presume using 0-1 positions. I'll try to see if interpreting it that way works)
Thanks!
Following the exact instructions, here is what I get:
Am I doing something wrong? What should I do to fix this?
Thanks!