Skip to content

I test this demo in my computer, but there exist some problems... #2

Open
@HzcIrving

Description

@HzcIrving

I run the "robot.py" script, but the system feedbacks the type error. It's just as follows:
Traceback (most recent call last): File "/Users/irving/Desktop/科研/OneDrive - otuanx/VREPSpace/RL_demo/NarrowDoor/robot.py", line 168, in <module> agent.run() File "/Users/irving/Desktop/科研/OneDrive - otuanx/VREPSpace/RL_demo/NarrowDoor/robot.py", line 58, in run train_thread = threading.Thread(name="train", target=self.train()) File "/Users/irving/Desktop/科研/OneDrive - otuanx/VREPSpace/RL_demo/NarrowDoor/robot.py", line 82, in train self.step() File "/Users/irving/Desktop/科研/OneDrive - otuanx/VREPSpace/RL_demo/NarrowDoor/robot.py", line 104, in step self.update() File "/Users/irving/Desktop/科研/OneDrive - otuanx/VREPSpace/RL_demo/NarrowDoor/robot.py", line 119, in update self.get_next_state() File "/Users/irving/Desktop/科研/OneDrive - otuanx/VREPSpace/RL_demo/NarrowDoor/robot.py", line 132, in get_next_state v_left = config.valid_actions_dict[self.action][0] KeyError: ('forward', None)
Could you tell me if there exist some part of the project that need to be modified... Thank u so much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions