philtabor / Deep-Q-Learning-Paper-To-Code

MIT License
342 stars 145 forks source link

Warning: indexing with dtype torch.uint8 is now deprecated, please use a dtype torch.bool instead. #5

Open srikanthkb opened 4 years ago

srikanthkb commented 4 years ago

When running the main.py for all variants of DQN, the warning is produced on recent versions of Pytorch (1.2 or higher). I tested this with 1.5, the uint8 is completely deprecated for this version.

ref: [https://github.com/open-mmlab/mmdetection/pull/2105]