Closed javiarrobas closed 1 year ago
Checking for an unwrapped attribute in lines https://github.com/ibpsa/project1-boptest-gym/blob/df9ab4374313e210990e3bfac6ae31574cf79401/examples/test_and_plot.py#L24 and https://github.com/ibpsa/project1-boptest-gym/blob/df9ab4374313e210990e3bfac6ae31574cf79401/examples/test_and_plot.py#L63 is not working. It was changed in commit e7e9da38e9f893de21409744fb5b3e4f428e42c6 when believing that the problem was that it could not detect a Monitor class of stable baselines. However, the issue was that we were importing from Gym, not from Gymnasium. This is to change that back, but using the import from Gymnasium instead.
unwrapped
Checking for an
unwrapped
attribute in lines https://github.com/ibpsa/project1-boptest-gym/blob/df9ab4374313e210990e3bfac6ae31574cf79401/examples/test_and_plot.py#L24 and https://github.com/ibpsa/project1-boptest-gym/blob/df9ab4374313e210990e3bfac6ae31574cf79401/examples/test_and_plot.py#L63 is not working. It was changed in commit e7e9da38e9f893de21409744fb5b3e4f428e42c6 when believing that the problem was that it could not detect a Monitor class of stable baselines. However, the issue was that we were importing from Gym, not from Gymnasium. This is to change that back, but using the import from Gymnasium instead.