NVlabs / DiffRL

[ICLR 2022] Accelerated Policy Learning with Parallel Differentiable Simulation
https://short-horizon-actor-critic.github.io/
Other
263 stars 43 forks source link

self.name error in SNU_humanoid.py #4

Closed MyelinsheathXD closed 2 years ago

MyelinsheathXD commented 2 years ago

after successifully traning snu_humainoid , testing with rendering option gives an error about self.name do not exist in snu_humanoid.py in , 78 line

my solution is just removing 'self.name' And everything works fine

#self.stage = Usd.Stage.CreateNew("outputs/" + self.name + "HumanoidSNU_Low_" + str(self.num_envs) + ".usd") self.stage = Usd.Stage.CreateNew("outputs/" + "dd" + "HumanoidSNU_Low_" + str(self.num_envs) + ".usd")

MyelinsheathXD commented 2 years ago

my solution is just removing 'self.name' And everything works fine

self.stage = Usd.Stage.CreateNew("outputs/" + self.name + "HumanoidSNULow" + str(self.num_envs) + ".usd") self.stage = Usd.Stage.CreateNew("outputs/" + "dd" + "HumanoidSNULow" + str(self.num_envs) + ".usd")