gym.spaces.Box may not be recognized in the action_space and observation_space of Isaac Lab

Isaac Sim Version

4.2.0
4.1.0
4.0.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify):

Isaac Lab Version (if applicable)

1.2
1.1
1.0
Other (please specify):

Operating System

Ubuntu 22.04
Ubuntu 20.04
Windows 11
Windows 10
Other (please specify):

GPU Information

  • Model: NVIDIA GeForce RTX 4080 super
  • Driver Version: 550.120

Topic Description

Detailed Description

(Describe the issue in detail, including what you were trying to do, what you expected to happen, and what actually happened)

Steps to Reproduce

  1. action_space = gym.spaces.Box(low=np.array([-0.1, -0.1, -0.1]),
    high=np.array([0.1, 0.1, 0.1]))
    observation_space = gym.spaces.Box(low=np.array([-1, -1, -1, -1, -np.inf, -np.inf, -np.inf]),
    high=np.array([1, 1, 1, 1, np.inf, np.inf, np.inf]))
  2. run source/standalone/workflows/sb3/train.py

Error Messages

omegaconf.errors.UnsupportedValueType: Value ‘Float32DType’ is not a supported primitive type

Screenshots or Videos

Additional Information


The documentation of stable baselines3 shows np.float32 is the default type of the gymnasium.spaces.Box. There could be a contradicting statement between Isaac Lab and Stable Baselines3

Hi @zhizhuo0928

This is a hydra/omegaconf (argument) limitation described in [Question How to set bounds to my action and observation spaces and also change its type? · isaac-sim/IsaacLab · Discussion #1264 · GitHub.

However, that isssue was resolved a month ago.
Are you using latest Isaac Lab version?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

Thank you for your interest in Isaac Lab. To ensure efficient support and collaboration, please submit your topic to its GitHub repo following the instructions provided on Isaac Lab’s Contributing Guidelines regarding discussions, submitting issues, feature requests, and contributing to the project.

We appreciate your understanding and look forward to assisting you.