Denys88 / rl_games

RL implementations
MIT License
881 stars 147 forks source link

Fixed https://github.com/Denys88/rl_games/issues/148 #181

Closed Denys88 closed 2 years ago

Denys88 commented 2 years ago

Fixed https://github.com/Denys88/rl_games/issues/148 If max_epochs reached earlier than any env terminates it crashes because of the mean_reward. In most cases it happens only when there is a bug in environment and it never sends done=True.