TalalAhmed311 / Object-Tracking-Counter

68 stars 25 forks source link

ModuleNotFoundError: No module named 'yolov5.utils.datasets' #3

Open rickiras opened 1 year ago

rickiras commented 1 year ago

Hey, that looks like really great work. When I tried it, I got this issue. Traceback (most recent call last): File "tracker.py", line 25, in from yolov5.utils.datasets import LoadImages, LoadStreams ModuleNotFoundError: No module named 'yolov5.utils.datasets'

I'm not familiar with Torch or YOLOV, but when I tried to find a solution on the web, they said there isn't a module called utils.datasets in YOLOV. So I'm not sure what to do here?

TalalAhmed311 commented 1 year ago

1) It could be possible that you cloned the yolov5 GitHub repository 2 times.

2) Don't use %cd command when you clone the yolov5 repo just install the requirements of yolov5

Lastly, follow the same steps mentioned in the tutorial

valyrian24052 commented 1 year ago

Still the issue remains unresolved.