Comments (1)
This appears to be a SB3 issue rather than shimmy.
Looking at the observation spaces of the environments that work and don't, it appears that for sub-spaces that have a shape of ()
then causes an issue for SB3
For example,
dm_control/walker-stand-v0
Obs=Dict('height': Box(-inf, inf, (), float64), 'orientations': Box(-inf, inf, (14,), float64), 'velocity': Box(-inf, inf, (9,), float64))
dm_control/humanoid-walk-v0
Obs=Dict('com_velocity': Box(-inf, inf, (3,), float64), 'extremities': Box(-inf, inf, (12,), float64), 'head_height': Box(-inf, inf, (), float64), 'joint_angles': Box(-inf, inf, (21,), float64), 'torso_vertical': Box(-inf, inf, (3,), float64), 'velocity': Box(-inf, inf, (27,), float64))
dm_control/acrobot-swingup-v0
Obs=Dict('orientations': Box(-inf, inf, (4,), float64), 'velocity': Box(-inf, inf, (2,), float64))
Therefore, I'm closing this issue as my understanding this is not an issue with Shimmy.
I would preflatten the observation space before passing to Sb3 to avoid the multi-input problem (see FlattenObservation
wrapper) and raise an issue with Sb3 exampling the problem with a minimal working example
from shimmy.
Related Issues (20)
- Cannot use supersuit color_reduction_v0 with Shimmy HOT 2
- PettingZoo Update breaks Shimmy HOT 1
- meaning of gym v21 HOT 2
- [Bug] incompatible with latest version of Meltingpot HOT 1
- [Bug] Melting pot wrapper fails with newer versions of pettingzoo's tests.
- MeltingPotCompatabilityV0 & supersuit concat_vec_envs HOT 5
- Add support for Melting Pot scenarios HOT 6
- Reasoning for rendering FPS for dm_control environments HOT 1
- Improvements for dm_control Compatibility Wrapper HOT 4
- Options are being ignored HOT 1
- Check when importing gym wrappers
- Add support for dm ai-safety-gridworlds
- Checklist for Maturity HOT 2
- Not import all compatibility wrappers in `__init__.py`
- Import issue: AttributeError: module 'pettingzoo' has no attribute 'AECEnv'
- Possibility to render multiple cameras at the same time in dm_control environments HOT 6
- Add release notes on website
- Dependencies not fixed (pettingzoo issues) HOT 1
- Broken dm_control.viewer HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shimmy.