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
Hi,
I just found an error message "AttributeError: 'GraspEnv' object has no attribute 'sim'" when I ran the command "python3 Grasping_Agent_multidiscrete.py".
Traceback is shown as follows:
Traceback (most recent call last):
File "Grasping_Agent_multidiscrete.py", line 583, in
main()
File "Grasping_Agent_multidiscrete.py", line 521, in main
agent = Grasp_Agent(seed=rand_seed, load_path=None, learning_rate=lr, depth_only=False)
File "Grasping_Agent_multidiscrete.py", line 85, in init
self.env = gym.make(
File "/home/steve/anaconda3/envs/mujoco_py/lib/python3.8/site-packages/gym/envs/registration.py", line 592, in make
env = env_creator(**_kwargs)
File "/home/steve/MuJoCo_RL_UR5/gym_grasper/envs/GraspingEnv.py", line 51, in init
self.controller = MJ_Controller(self.model, self.sim, self.viewer)
AttributeError: 'GraspEnv' object has no attribute 'sim'
Appreciate!
The text was updated successfully, but these errors were encountered:
Hi,
I just found an error message "AttributeError: 'GraspEnv' object has no attribute 'sim'" when I ran the command "python3 Grasping_Agent_multidiscrete.py".
Traceback is shown as follows:
Traceback (most recent call last):
File "Grasping_Agent_multidiscrete.py", line 583, in
main()
File "Grasping_Agent_multidiscrete.py", line 521, in main
agent = Grasp_Agent(seed=rand_seed, load_path=None, learning_rate=lr, depth_only=False)
File "Grasping_Agent_multidiscrete.py", line 85, in init
self.env = gym.make(
File "/home/steve/anaconda3/envs/mujoco_py/lib/python3.8/site-packages/gym/envs/registration.py", line 592, in make
env = env_creator(**_kwargs)
File "/home/steve/MuJoCo_RL_UR5/gym_grasper/envs/GraspingEnv.py", line 51, in init
self.controller = MJ_Controller(self.model, self.sim, self.viewer)
AttributeError: 'GraspEnv' object has no attribute 'sim'
Appreciate!
The text was updated successfully, but these errors were encountered: