错误描述: 在运行pytorch-yolov3的时候,报了以下错误:UserWarning: indexing with dtype torch.uint8 is now deprecated, please use a dtype torch.bool instead 解决方案: 找到model.py 添加如下标记的两行代码 OK! 相关文章: 2022-12-23 2021-08-13 2022-03-09 2022-12-23 2022-12-23 2022-12-23 2021-06-07