PaulDanielML / MuJoCo_RL_UR5

A MuJoCo/Gym environment for robot control using Reinforcement Learning. The task of agents in this environment is pixel-wise prediction of grasp success chances.
MIT License
401 stars 54 forks source link

Grasping_Agent_multidiscrete.py, example_agent.py errors #14

Open Scarlie23 opened 2 years ago

Scarlie23 commented 2 years ago

Hi all, i have two errors, when i used codes. How can i solve them. Thx for informations.

python3 example_agent.py . . . EPISODE 1 STEP 1 ################################################################# Traceback (most recent call last): File "exampleagent.py", line 27, in observation, reward, done, = env.step(action, record_grasps=True) TypeError: step() got an unexpected keyword argument 'record_grasps'

Then i tried grasping agent code and ..

python3 Grasping_Agent_multidiscrete.py Creating window glfw Created new control group 'Arm'. Created new control group 'Gripper'. CURRENT EPSILON: 1.0 ################################################################# EPISODE 1 STEP 1 ################################################################# Traceback (most recent call last): File "Grasping_Agent_multidiscrete.py", line 583, in main() File "Grasping_Agent_multidiscrete.py", line 545, in main nextstate, reward, done, = agent.env.step( TypeError: step() got an unexpected keyword argument 'action_info'

digitalWriteHIGH commented 2 months ago

I have encountered the same problem, have you solved it?