fcos icon indicating copy to clipboard operation
fcos copied to clipboard

警告问题 warning problem

Open 2anchao opened this issue 4 years ago • 1 comments

indexing with dtype torch.uint8 is now deprecated, please use a dtype torch.bool instead. how to avoid this warning when training?

2anchao avatar Jan 07 '20 02:01 2anchao

I use pytorch 1.1.0 in my code. If you use the latest version, you can either omit the warning or replace torch.uint8 with torch.bool.

xytpai avatar Jan 07 '20 08:01 xytpai