yang-0201 / YOLOv6_pro

Make it easier for yolov6 to change the network structure
GNU General Public License v3.0
66 stars 15 forks source link

FileNotFoundError: [Errno 2] No such file or directory: '.cache\\torch\\hub\\yang-0201_YOLOv6_main\\hubconf.py' #12

Open srikrishnasajjarao opened 1 month ago

srikrishnasajjarao commented 1 month ago

I have cloned yolov6_pro from Git Hub to my environment. When I am loading the model I am getting this error.

FileNotFoundError: [Errno 2] No such file or directory: '.cache\torch\hub\yang-0201_YOLOv6_main\hubconf.py'

First, I tried yolov6, but then I got an attribute error. then I upgraded to this. Now I am getting this error. This file was in yolov6 but not in yolov6_pro.

why? am I missing something?

yang-0201 commented 1 month ago

I'm sorry, I've never encountered this problem before. I'll have to ask you to do some research on your own. The problem of not being able to find the file is easily solved.