Skip to content

Analyzing the Policy #4

Description

@JavieYuan

When I first pulled down this project and set up the environment, I wanted to directly test and evaluate the strategy using the model files that came with the project. However, when I ran
python scripts/play_teleop.py,
an error occurred:
Setting GYM_USD_PLUG_INFO_PATH to /home/c41085/Downloads/isaacgym/python/isaacgym/_bindings/linux-x86_64/usd/plugInfo.json
PyTorch version 2.2.0+cu121 Device count 1
/home/c41085/Downloads/isaacgym/python/isaacgym/_bindings/src/gymtorch
Using /home/c41085/.cache/torch_extensions/py38_cu121 as PyTorch extensions root...
Emitting ninja build file /home/c41085/.cache/torch_extensions/py38_cu121/gymtorch/build.ninja...
Building extension module gymtorch...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
ninja: no work to do.
Loading extension module gymtorch...
The Gym has been left unmaintained since 2022 and does not support NumPy 2.0 or other critical functionalities. Please upgrade to Gymnasium, the maintained drop-in replacement of Gym, or contact the authors of your software and request that they upgrade.
Users of this version of Gym should be able to simply replace 'import gym' with 'import gymnasium as gym' in the vast majority of cases.
See the migration guide at https://gymnasium.farama.org/introduction/migration_guide/ for additional information.
Traceback (most recent call last):
File "scripts/play_teleop.py", line 488, in
play_go1(headless=False)
File "scripts/play_teleop.py", line 436, in play_go1
env, policy = load_env(label,iteration, headless=headless)
File "scripts/play_teleop.py", line 122, in load_env
logdir = sorted(dirs)[0]
IndexError: list index out of range.
What should I do? Should I run
'python scripts/utils/download_wandb_run.py '
before this? What exactly are the 'arguments' here?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions