ultralytics的库有问题!!!!重新下载作者的库
File "boxmot\trackers\deepocsort\deep_ocsort.py", line 361, in update
assert isinstance(dets, np.ndarray), f"Unsupported 'dets' input type '{type(dets)}', valid format is np.ndarray"
AssertionError: Unsupported 'dets' input type '<class 'ultralytics.engine.results.Boxes'>', valid format is np.ndarray
先把自己的ultralytics库卸载了!
pip uninstall ultralytics
然后再安装
pip install git+https://github.com/mikel-brostrom/ultralytics.git
浪费一天时间!焯了!