Skip to content

Ruamel Version Used for Running Visualization Policy #9

@sukhreens

Description

@sukhreens

Hello,

I am trying to reproduce this code but I am getting errors when it comes to running the visualization policy. I have downloaded the correct version of RaiSim, and I used the command "pip install "ruamel.yaml<0.18.0" which solved an issue I had with running runner.py. However, I can't seem to fix this error when I attempt to run viz_policy.py. I have looked into the issue more, and it seems like this might be due to the wrong ruamel.yaml version in my environment. Does anyone have any potential solutions? Are there any dependencies that I might need that rely on a specific version? Thank you!! Here is the error:
``
Laptop:~/WORKSPACE/raisimLib/raisimLib/raisimGymTorch/raisimGymTorch/env/envs/rsg_a1_task$ python viz_policy.py ../../../../data/rsg_a1_task/0002 4000
Traceback (most recent call last):
File "viz_policy.py", line 33, in
env = VecEnv(rsg_a1_task.RaisimGymEnv(home_path + "/rsc", dump(cfg['environment'], Dumper=RoundTripDumper)), cfg['environment'])
RuntimeError: Invalid quote. Line 3: !!python/object/new:ruamel.yaml.scalarfloat.ScalarFloat

``

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