pfnet / pfrl

PFRL: a PyTorch-based deep reinforcement learning library
MIT License
1.2k stars 157 forks source link

Add episode length to stats #141

Closed Chachay closed 3 years ago

Chachay commented 3 years ago

Added episode length to track 'survival steps' of agents.

In an environment with complicated hard constraints, episodes end in a short time at beginning of training. Episode length is a good metrics to see if an agent figure out how to survive.

tkelestemur commented 3 years ago

Hey @Chachay I previously proposed this in my earlier PR: https://github.com/pfnet/pfrl/pull/121/commits/784997e8157183dd7d67bcd27c296c8aee4cbc65

Chachay commented 3 years ago

Oh, true. I close this PR as this is identical.