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