current position:Home>Yolov5 deployment final inference report cannot find picture

Yolov5 deployment final inference report cannot find picture

2022-02-03 00:25:21 CSDN Q & A

adopt Anaconda install pytorch and paddle Deep learning environment
After training , Reasoning operation detec.py
Report errors

UserWarning: Failed to load image Python extension: Could not find module 'E:\b\anaconda\envs\pytorch\Lib\site-packages\torchvision\image.pyd' (or one of its dependencies). Try using the full path with constructor syntax. warn(f"Failed to load image Python extension: {e}")
AssertionError: Image Not Found C:\Users\ Simple and honest \Desktop\yolov5-5.0\VOCdevkit\images\train\0001.jpg

Searched the relevant directory and found , In fact, there are image.pyd file
There's no problem with the location of the picture
Du Niang searched , No solution found , Hope to help solve
Screenshot of error reporting

img


Screenshot of module location

img


@ Brother Pao will take you to learn Gunner , I learned from you , Many problems encountered in the front have been solved , Finally, I really pulled my crotch here , I don't know what to do




Refer to the answer 1:



Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202030025179524.html

Random recommended