MyoHub / myosuite

MyoSuite is a collection of environments/tasks to be solved by musculoskeletal models simulated with the MuJoCo physics engine and wrapped in the OpenAI gym API.
https://sites.google.com/view/myosuite
Apache License 2.0
833 stars 104 forks source link

Warning in automatic testing on previous year myochallenge envs #191

Open raku-slyu opened 1 month ago

raku-slyu commented 1 month ago

Source of the warning: Automatic testing on Ubuntu system

Particular test name: Run Test Environment

Warning message: /home/runner/work/myosuite/myosuite/myosuite/envs/myo/myochallenge/chasetag_v0.py:218: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)

Test name: Run Test Gym/ Gymnasium

Warning message: Testing env: myoChallengeBaodingP1-v1 /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/gym/spaces/box.py:127: UserWarning: WARN: Box bound precision lowered by casting to float32 logger.warn(f"Box bound precision lowered by casting to {self.dtype}") MyoSuite: A contact-rich simulation suite for musculoskeletal motor control Vittorio Caggiano, Huawei Wang, Guillaume Durandau, Massimo Sartori, Vikash Kumar L4DC-2019 | https://sites.google.com/view/myosuite

Logging this issue for reference

Vittorio-Caggiano commented 1 month ago

@elladyr can you have a look? will this effect other locomotion tasks too?