完美解决 UserWarning: indexing with dtype torch.uint8 is now deprecated, please use a dtype torch.bool

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