Skip to content

jannerm/o2p2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object-Oriented Prediction and Planning

Code for generating data used in the paper Reasoning About Physical Interactions with Object-Oriented Prediction and Planning.

Setup

Download MuJoCo 1.5 and run pip install -r requirements.txt with Python 3.6.

Data generation

See mujoco/generate.py for an example. This should generate image sequences like the following:


Image Image Image Image Image

Note that in the paper, we only used the first and final image instead of the full sequence. To only render these images, set render_freq equal to drop_steps_max-1:

python mujoco/generate.py --drop_steps_max 1001 --render_freq 1000 \
    --num_images 10 --img_dim 64 --min_objects 2 --max_objects 4 --output_path rendered/initial_final/

If you would like to add a new shape, just drop the stl file in assets/stl and add its filename (without the stl extension) to the list of polygons.

About

No description, website, or topics provided.

Resources

Stars

25 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages