How to stop training after a fixed number of steps? #845
Unanswered
CloudyDory
asked this question in
Q&A
Replies: 1 comment 5 replies
-
tianshou/tianshou/trainer/onpolicy.py Lines 28 to 35 in 4ac407c You can specify either |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The default OnPolicyTrainer has an option to stop training after a fixed number of episodes. However, sometimes it is desirable to stop after a fixed number of total environment steps that the agent has experienced with. How to implement it in Tianshou?
Beta Was this translation helpful? Give feedback.
All reactions