JackWoo0831 / Yolov7-tracker

Yolo X, v7, v8 and several Multi-Object Tracker(SORT, DeepSORT, ByteTrack, BoT-SORT, etc.) in MOT17 and VisDrone2019 Dataset. It uses a unified style and integrated tracker for easy embedding in your own projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RuntimeError: Can't call numpy)on Tensor that requires grad. Use tensor.detach.numpy instead.

wallstarhug opened this issue · comments

使用我自己训练yolov7生成的best.pt跑track.py的时候报错RuntimeError: Can't call numpy)on Tensor that requires grad. Use tensor.detach.numpy instead. 请问应该怎么解决呢