JingyibySUTsoftware / Yolov5-deepsort-driverDistracted-driving-behavior-detection

基于深度学习的驾驶员分心驾驶行为(疲劳+危险行为)预警系统使用YOLOv5+Deepsort实现驾驶员的危险驾驶行为的预警监测
GNU General Public License v3.0
503 stars 98 forks source link

跑不起来,不知道缺什么东西 #11

Closed Kojima648 closed 1 year ago

Kojima648 commented 1 year ago

Fusing layers... Model Summary: 224 layers, 7062001 parameters, 0 gradients Traceback (most recent call last): File "d:\Downloads\Yolov5-deepsort-driverDistracted-driving-behavior-detection\main.py", line 11, in import myframe File "C:\Users\PC\AppData\Local\Programs\Python\Python310\Lib\site-packages\shiboken2\files.dir\shibokensupport__feature.py", line 142, in _import return original_import(name, *args, **kwargs) File "d:\Downloads\Yolov5-deepsort-driverDistracted-driving-behavior-detection\myframe.py", line 5, in import myfatigue #疲劳检测 File "C:\Users\PC\AppData\Local\Programs\Python\Python310\Lib\site-packages\shiboken2\files.dir\shibokensupport\feature.py", line 142, in _import return original_import(name, *args, **kwargs) File "d:\Downloads\Yolov5-deepsort-driverDistracted-driving-behavior-detection\myfatigue.py", line 4, in from imutils.video import FileVideoStream File "C:\Users\PC\AppData\Local\Programs\Python\Python310\Lib\site-packages\shiboken2\files.dir\shibokensupport\feature__.py", line 142, in _import return original_import(name, *args, **kwargs) ModuleNotFoundError: No module named 'imutils' PS D:\Downloads\Yolov5-deepsort-driverDistracted-driving-behavior-detection>

Bright-MoonBeam commented 1 year ago

我也是这个问题,兄弟解决了吗?

Kojima648 commented 1 year ago

我也是这个问题,兄弟解决了吗?

没解决,换别的方案了。

milisl commented 6 months ago

要下载一个imutils库啊

xzp12345 commented 5 months ago

Traceback (most recent call last): File "E:\Pycharm\Project\pythonProject2\Project\Yolov5-deepsort-driverDistracted-driving-behavior-detection-1.0\main.py", line 11, in import myframe File "E:\Anacondaaddress\envs\yolo\Lib\site-packages\shiboken2\files.dir\shibokensupport__feature.py", line 142, in _import return original_import(name, *args, *kwargs) File "E:\Pycharm\Project\pythonProject2\Project\Yolov5-deepsort-driverDistracted-driving-behavior-detection-1.0\myframe.py", line 4, in import mydetect #yolo检测 File "E:\Anacondaaddress\envs\yolo\Lib\site-packages\shiboken2\files.dir\shibokensupport__feature__.py", line 142, in _import return original_import(name, args, **kwargs) File "E:\Pycharm\Project\pythonProject2\Project\Yolov5-deepsort-driverDistracted-driving-behavior-detection-1.0\mydetect.py", line 9, in from models.experimental import attempt_load File "E:\Anacondaaddress\envs\yolo\Lib\site-packages\shiboken2\files.dir\shibokensupport\feature.py", line 142, in _import return original_import(name, *args, **kwargs) File "E:\Pycharm\Project\pythonProject2\Project\Yolov5-deepsort-driverDistracted-driving-behavior-detection-1.0\models\experimental.py", line 7, in from models.common import Conv, DWConv File "E:\Anacondaaddress\envs\yolo\Lib\site-packages\shiboken2\files.dir\shibokensupport\feature.py", line 142, in _import return original_import(name, *args, **kwargs) File "E:\Pycharm\Project\pythonProject2\Project\Yolov5-deepsort-driverDistracted-driving-behavior-detection-1.0\models\common.py", line 11, in from utils.datasets import letterbox File "E:\Anacondaaddress\envs\yolo\Lib\site-packages\shiboken2\files.dir\shibokensupport\feature.py", line 142, in _import return original_import(name, *args, **kwargs) File "E:\Pycharm\Project\pythonProject2\Project\Yolov5-deepsort-driverDistracted-driving-behavior-detection-1.0\utils\datasets.py", line 21, in from tqdm import tqdm File "E:\Anacondaaddress\envs\yolo\Lib\site-packages\shiboken2\files.dir\shibokensupport\feature__.py", line 142, in _import return original_import(name, *args, **kwargs) ModuleNotFoundError: No module named 'tqdm' 这个问题是少了什么库吗?