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
if trajectory_steps >= self.trajectory_length: # trajectory_length:5
self.agent.reset_lstm_hidden_state(done=False)
trajectory_steps = 0
if step > self.warmup:
self.update_policy()
...
--> 295 if maxlen > 0 and maxlen + 1 < T :
296 t = random.randrange(T - maxlen - 1) # Include next state after final "maxlen" state
297 return mem[t:t + maxlen + 1]
TypeError: '>' not supported between instances of 'NoneType' and 'int'