Skip to content

[Bug] AttributeError: 'TimeLimitWrapper' has no attribute 'agent' when converting control mode in replay_trajectory for new gymnasium #1366

@luokuang2001

Description

@luokuang2001

I am trying to convert a dataset collected via Motion Planning (using pd_joint_pos) into pd_ee_delta_pos control mode for training a Diffusion Policy.

When running the replay_trajectory script to perform this conversion, the script crashes with an AttributeError.

I run the following command to replay and convert the control mode:

python -m mani_skill.trajectory.replay_trajectory \
  --traj-path ./trajectory.h5 \
  -c pd_ee_delta_pos \
  -o rgb \
  --save-traj

The error log is:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions