Traceback (most recent call last):
File "E:\renliuliangjiance\unbox_yolov5_deepsort_counting\main.py", line 83, in
list_bboxs = tracker.update(bboxes, im)
File "E:\renliuliangjiance\unbox_yolov5_deepsort_counting\tracker.py", line 72, in update
outputs = deepsort.update(xywhs, confss, image)
File "E:\renliuliangjiance\unbox_yolov5_deepsort_counting\deep_sort\deep_sort\deep_sort.py", line 31, in update
detections = [Detection(bbox_tlwh[i], conf, features[i]) for i,conf in enumerate(confidences) if conf>self.min_confidence]
File "E:\renliuliangjiance\unbox_yolov5_deepsort_counting\deep_sort\deep_sort\deep_sort.py", line 31, in
detections = [Detection(bbox_tlwh[i], conf, features[i]) for i,conf in enumerate(confidences) if conf>self.min_confidence]
File "E:\renliuliangjiance\unbox_yolov5_deepsort_counting\deep_sort\deep_sort\sort\detection.py", line 30, in init
self.tlwh = np.asarray(tlwh, dtype=np.float)
File "D:\conda\envs\pytorch\lib\site-packages\numpy__init.py", line 284, in getattr__
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'float'
D:\conda\envs\pytorch\python.exe E:\renliuliangjiance\unbox_yolov5_deepsort_counting\main.py Fusing layers...
Traceback (most recent call last): File "E:\renliuliangjiance\unbox_yolov5_deepsort_counting\main.py", line 83, in
list_bboxs = tracker.update(bboxes, im)
File "E:\renliuliangjiance\unbox_yolov5_deepsort_counting\tracker.py", line 72, in update
outputs = deepsort.update(xywhs, confss, image)
File "E:\renliuliangjiance\unbox_yolov5_deepsort_counting\deep_sort\deep_sort\deep_sort.py", line 31, in update
detections = [Detection(bbox_tlwh[i], conf, features[i]) for i,conf in enumerate(confidences) if conf>self.min_confidence]
File "E:\renliuliangjiance\unbox_yolov5_deepsort_counting\deep_sort\deep_sort\deep_sort.py", line 31, in
detections = [Detection(bbox_tlwh[i], conf, features[i]) for i,conf in enumerate(confidences) if conf>self.min_confidence]
File "E:\renliuliangjiance\unbox_yolov5_deepsort_counting\deep_sort\deep_sort\sort\detection.py", line 30, in init
self.tlwh = np.asarray(tlwh, dtype=np.float)
File "D:\conda\envs\pytorch\lib\site-packages\numpy__init.py", line 284, in getattr__
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'float'
能不能不改numpy的版本啊。我把这个np.float换成int可以吗