Skip to content

[Bug Report] reset function bug #577

Description

@infinit-luffy

Describe the bug

When I override the reset function in an environment based on BaseTaskEnv and build env with the make_vec, the options parameter cannot be passed in.

Steps to reproduce

In the Calvin branch, in /RoboVerse/roboverse_pack/tasks/calvin/base_table.py, write a reset() function in this form

def reset(
            self,
            *,
            seed: Optional[int] = None,
            options: Optional[dict[str, Any]] = None,
        ) -> tuple[np.ndarray, dict[str, Any]]:
            

        return obs, info

Then then call this function in RoboVerse/roboverse_pack/tasks/calvin/data_preparation/convert_dataset.py , You can see that this function is indeed called here, but the options parameter is not passed through.

System Info

Describe the characteristic of your environment:

My environment build based on the docker file.

  • OS: [e.g. Ubuntu 20.04]
  • GPU: [e.g. RTX 2070 Super]

Additional context

Add any other context about the problem here.

Checklist

  • I have checked that there is no similar issue in the repo (required)
  • I have checked that the issue is not in the simulator backends (IsaacLab, IsaacGym, MuJoCo, etc.) and is related to the RoboVerse repo

Acceptance Criteria

Add the criteria for which this task is considered done. If not known at issue creation time, you can add this once the issue is assigned.

  • Criteria 1
  • Criteria 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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