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