yolov7-pip icon indicating copy to clipboard operation
yolov7-pip copied to clipboard

Google Colab `results.show()` producing no output

Open cadop opened this issue 2 years ago • 5 comments

I am using google colab, when running the yolov5 !pip install yolov5 , the results.show() method shows an image, while the !pip install yolov7detect does not. yolov7 does write the image, but not display.

Any ideas how to fix this?

cadop avatar Feb 02 '23 00:02 cadop

Did you try locally? Can you share the error message?

kadirnar avatar Feb 02 '23 15:02 kadirnar

There is no error message, just nothing displays. I am only using it on colab (based on the example given).

cadop avatar Feb 02 '23 15:02 cadop

I have tested. Colab doesn't work either. But it also works locally. you can use the results.save() parameter.

kadirnar avatar Feb 02 '23 19:02 kadirnar

okay yea, save was working but was hoping for seeing it (it was for a course demo). Since v5 was working (i think the readme mentions its based partly on that), I thought there may be a simple fix.

Anyway thanks for the contribution!

cadop avatar Feb 02 '23 19:02 cadop

I don't know how to solve it as there is no error message.

kadirnar avatar Feb 03 '23 19:02 kadirnar