Closed hmomin closed 2 years ago
I solve this bug with adding actor = actor.to(device)
in Evaluator
.
device
should be consistent with the GPU id of Isaac Gym for Evaluator
.
Evaluator reveices an actor(CPU) from Learner. Then Evaluator evaluate this actor on its env
.
It is OK for OpenAI standard gym (such as MuJoCo, PyBullet, etc.) But Isaac Gym require an actor in (GPU), and the GPU id should be consistent with the GPU id of Isaac Gym.
Now I am rewriting the code about Isaac Gym Preview 3 + ElegantRL. I will upload these code later.
When I try to run the
Trifinger
environment on Isaac Gym using examples/tutorial_Isaac_Gym.py, I receive the following error:I'll look into this.