Message about overflow encountered in ubyte_scalars should't spam
Screenshots
here is the screenshot with condition of spam:
and here is the meaning of the other numbers in smb_env.py
Additional context
Tried to check if variables self.ram[0x86] and self.ram[0x071c], or their subtraction, become > 255. but didn't find anything strange. The only thing that i noticed, that this message keeps spamming only if I use DDQN algorithm instead of basic DQN
this is a duplicate of #94, which i believe to be resolved. please try updating to the latest version and let me know if the problem still occurs. thanks!
Describe the bug
During learning process, program keep spamming this message:
C:\Users\User\anaconda3\envs\mario\lib\site-packages\gym_super_mario_bros\smb_env.py:151: RuntimeWarning: overflow encountered in ubyte_scalars return (self.ram[0x86] - self.ram[0x071c]) % 256
Expected behavior
Message about overflow encountered in ubyte_scalars should't spam
Screenshots
here is the screenshot with condition of spam:![image](https://user-images.githubusercontent.com/38537228/85141313-e1903280-b246-11ea-816f-2a7bdb67a867.png)
and here is the meaning of the other numbers in smb_env.py![image](https://user-images.githubusercontent.com/38537228/85141506-2916be80-b247-11ea-91d7-fe80134f3f32.png)
Additional context
Tried to check if variables self.ram[0x86] and self.ram[0x071c], or their subtraction, become > 255. but didn't find anything strange. The only thing that i noticed, that this message keeps spamming only if I use DDQN algorithm instead of basic DQN