Open andrewliao11 opened 7 years ago
I met the same issue on several environments, does anyone know a solution?
my mujoco-py version is mujoco-py==0.5.7 I'm not sure if it appears in other version
@andrewliao11 I also tried Ant-v1 with your pytorch a3c code. I changed line 81 in test.py
state, reward, done, _ = env.step(action.numpy())
and then, the warning was disappeared
Any updates on this issue? I am having the same trouble. I suspect that it is due to some structure that causes the acceleration becoming too large.
Same issue here with different environments. If anyone has found as solution plz kindly share!
Seems to be an issue with MuJoCo - too much penetration or contact between two bodies will cause this error. Model needs to updated
I had a similar problem in #340. I discovered that you should slow down stepping. I solved the issue by just delaying the next step with time.sleep(.002)
.
time.sleep(.002)
obs, r, done, _ = self.env.step(action)
Similar problem when using this for a robotic control task.
Similar problem when using this for grasp task with a customized mesh file. Any new solution? I had tried the sleep solution, it seems no help...
Sleep solution is not helping for me, either.
any updates?
I recommend taking a look at the action you're passing to step()
. I'm debugging some quite complex code and at some point this error occured when the action just consisted of nan
s. So at least in my case the problem is exactly what the error message states.
Hi all, I run a3c in Ant-v1 and got this warning:
Are there anyone know what's the problem with this, and maybe the reason why. (My code runs well for other envs