Comments (3)
Thanks for reporting this. Recreating the objects in the stage are needed to ensure a deterministic and reproducible trajectories after resetting the environment and also because we have some interventions which potentially can change the env structure (having more objects or deleting objects and so on). If you are trying to save the state of the environment without changing the environment structure, then this should be supported using get_state and set_state under causal_world. This is not entirely deterministic functions because a potential bug in pybullet (see bulletphysics/bullet3#2982 ). Are you trying to get and set the state across different instances for planning using the true model?
from causalworld.
The deviations come from the fact that pybullet saves the previous n contact points to calculate the next state, so even if you set everything to be the same it wont yield the same next state since the cached contact points are not the same. We addressed this as a pybullet issue in general since its a limitation we couldn't work around at the moment.
from causalworld.
Hey,
thanks for the quick reply.
Are you trying to get and set the state across different instances for planning using the true model?
Exactly, that's why we can't use the in-memory save and load functionality of pybullet.
We addressed this as a pybullet issue in general since its a limitation we couldn't work around at the moment.
I see, good. We could reduce the deviations already quite a bit with the aforementioned changed. For the moment, we can live with the remaining small deviations.
from causalworld.
Related Issues (20)
- Trained baseline models perform poorly HOT 1
- correctness and speed of TriFinger._safety_torque_check HOT 5
- gym.GoalEnv decapricated from gym.version >= 0.21 HOT 1
- Observation mode "pixel" raises AttributeError HOT 2
- Stage using unexpected client ID HOT 2
- to use OpenGL3 with X11 HOT 1
- rename observation modes
- save wrappers and restore them in a better way
- pick_and_place goal sampler
- do intervention without checking bounds?
- verify camera images with new edu platform
- propagate size to intervention spaces height of blocks!
- add orientation to intervention_spaces
- reward wrong in reaching task HOT 1
- Torque-mode wrong achieved_goal
- computation of PD gains and save-state
- is_not_fixed wrong call
- trifinger_pro HOT 1
- How to record higher quality videos? HOT 1
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 causalworld.