You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following non-handled exception occurs when resetting the environment:
Traceback (most recent call last):
File "./A2C.py", line 85, in <module>
obs = env.reset()
File "/usr/local/lib/python3.6/dist-packages/gym/core.py", line 264, in reset
observation = self.env.reset(**kwargs)
File "/workspaces/energym/energym/envs/eplus_env.py", line 225, in reset
self.logger.log_episode(episode=self.simulator._epi_num)
File "/workspaces/energym/energym/utils/common.py", line 307, in log_episode
self.comfort_violation_timesteps/self.total_timesteps*100)
ZeroDivisionError: division by zero
I'm using Energym v0.3.0 in Ubuntu. The error occurs in both discrete and continuous environments.
I was able to stop it from occurring by previously activating the logger with: env.env_method('activate_logger'), but this is an exception that should be handled.
Cheers!
The text was updated successfully, but these errors were encountered:
The following non-handled exception occurs when resetting the environment:
I'm using Energym
v0.3.0
in Ubuntu. The error occurs in both discrete and continuous environments.I was able to stop it from occurring by previously activating the logger with:
env.env_method('activate_logger')
, but this is an exception that should be handled.Cheers!
The text was updated successfully, but these errors were encountered: