完美解決 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!
相關文章
相關標籤/搜索