Skip to content

Question regarding environment setup and version compatibility for AMP tasks (Aliengo) #41

@Ihtbfas

Description

@Ihtbfas

Hi authors,

First of all, thank you for sharing this excellent repository!

I am currently trying to run the AMP training for the Aliengo robot (python scripts/amp_rl/train_amp.py --task=Locomotion-Aliengo-Flat --num_envs=4096 --headless), but I am running into a series of version compatibility issues regarding rsl-rl and amp-rsl-rl.

Here are the specific issues I encountered:

  1. With rsl-rl==3.0.1 and the latest amp-rsl-rl : The training crashes with AttributeError: 'AliengoFlatEnvCfg' object has no attribute 'observations' and KeyError: 'key "amp" not found in TensorDict'. It seems the Aliengo environment configuration has not been fully updated to output the amp observation group expected by the new amp-rsl-rl architecture.
  2. Standard PPO Training (train.py): When using rsl-rl==3.0.1, PPO.__init__() throws TypeError: unexpected keyword argument 'optimizer' and 'share_cnn_encoders'. I had to manually delete these keys from agent_dict in the training script to make it work.

To help me get the environment running smoothly, could you please clarify the exact dependency versions expected by this repository? Specifically:

  • Which version/commit of IsaacLab?
  • Which version of rsl-rl (2.2.4, 3.0.1, or another)?
  • Which specific commit hash of amp-rsl-rl?

Thanks in advance for your time and help!

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