emdqn icon indicating copy to clipboard operation
emdqn copied to clipboard

Bug of wrappers

Open YangRui2015 opened this issue 5 years ago • 2 comments

Hi, there can be a bug in wrappers. When I first ran the code, I got the following bug. 截屏2020-10-13 下午7 55 51 I found the reason is that wrapper' s attributions, '_reset', '_step' , are not used at all. This might because of different gym version (they change '_reset' to 'reset'). Finally, I fix the bug by setting all '_reset' , '_step', to 'reset' , 'step' in baselines/common/atari_wrappers_deprecated.py.

Can you report the exact version of gym and fix this bug ?

Thanks!

YangRui2015 avatar Oct 13 '20 12:10 YangRui2015

Hello, It is given in setup.py that we can use OpenAI gym version >= 0.9.1 and v 0.9.1 works fine for me. Thanks

Saxena224pawan avatar Feb 17 '21 06:02 Saxena224pawan

Hello, It is given in setup.py that we can use OpenAI gym version >= 0.9.1 and v 0.9.1 works fine for me. Thanks

Thanks!

YangRui2015 avatar Feb 17 '21 08:02 YangRui2015