Closed haruishi43 closed 2 years ago
Might need to update nes_py
as well.
And I noticed that the reward range is a tuple of int
s, which might still raise the error.
https://github.com/Kautenja/nes-py/blob/bd1b06448e29675b82eaf2953fa83886250dc67f/nes_py/nes_env.py#L303
Version 8.2.0 of nes-py resolves this issue for all downstream environments. Thanks for bringing it to my attention and making the suggestion!
Description
Newer versions of
gym>=0.20.0
requires reward returned bystep()
to befloat
. The newpassive_env_checker.py
checks if the environment complies with this or not. This error could not be avoided with writing custom wrappers that converts the originalint
reward tofloat
.Error log:
Type of change
Please select all relevant options:
Checklist