You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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可以吗
The text was updated successfully, but these errors were encountered:
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可以吗
The text was updated successfully, but these errors were encountered: