BipedalWalker error


I’m trying to run BipedalWalker v2, and from time to time I get this error:[i], self.lidar[i].p1, self.lidar[i].p2)
AssertionError: r.LengthSquared() > 0.0f

Has it happend to anyone ? Any tips on this ?

Thanks !


Check if:

  1. The actions from your policy are not NaNs

  2. The actions fall within the env.action_space (use: env.step(np.clip(action, -a_bound, a_bound))