balloon-learning-environment
balloon-learning-environment copied to clipboard
I got a ValueError when running "env = balloon_env.BalloonEnv()"
File "/root/miniconda3/envs/ble/lib/python3.9/site-packages/balloon_learning_environment/env/features.py", line 541, in _add_wind_features assert 0.0 <= deviations[level] <= 1.00001, 'Uncertainty not in [0, 1].' ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
cuda:11.8 cudnn:0.86
jax:0.4.10 jaxlib:0.4.10 flax:0.4.2
/root/miniconda3/envs/ble/lib/python3.9/site-packages/jax/_src/interpreters/pxla.py:186: DeprecationWarning: ml_dtypes.float8_e4m3b11 is deprecated. Use ml_dtypes.float8_e4m3b11fnuz return xc.batched_device_put(aval, sharding, xs, devices, committed) # type: ignore /root/miniconda3/envs/ble/lib/python3.9/site-packages/jax/_src/array.py:515: DeprecationWarning: ml_dtypes.float8_e4m3b11 is deprecated. Use ml_dtypes.float8_e4m3b11fnuz self._npy_value = self._single_device_array_to_np_array() # type: ignore
/root/miniconda3/envs/ble/lib/python3.9/site-packages/flax/core/scope.py:740: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead. abs_value_flat = jax.tree_leaves(abs_value) /root/miniconda3/envs/ble/lib/python3.9/site-packages/flax/core/scope.py:741: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead. value_flat = jax.tree_leaves(value)
Traceback (most recent call last):
File "