NoneType issue with step_type at a random epoch #890
-
Hey All, I am having an issue where I get the following error at a random episode of the training cycle. Traceback (most recent call last): I am using a custom environment with the q_rnn_network agent class given in tf_agents (the same issue occurs when using a sequential CNN). I am using reverb as my data management method (uniform sampler). I am not sure why it is failing at random episodes? Am I perhaps missing a step_type assignment for some transitions or terminal states? I am pretty sure I am assigning it to every step. One important thing to note is that I don't have terminal states. I just reset the env after the assigned number of iterations per episode. Any insight into why this may be happening? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The solution was to also include terminal states by manually assigning one, even though it is strictly not correct. |
Beta Was this translation helpful? Give feedback.
The solution was to also include terminal states by manually assigning one, even though it is strictly not correct.