git clone https://github.com/jiaming-robot-learning/foundation-phy.git
cd foundation-phy
docker pull kubricdockerhub/kubruntudev:latest
# optional: if you want to build the image from scratch
cd kubric
docker build -f docker/Blender.Dockerfile -t kubricdockerhub/blender:latest . # build a blender image first
docker build -f docker/KubruntuDev.Dockerfile -t kubricdockerhub/kubruntudev:latest . # then build a kubric image of which base image is the blender image above
docker run --rm -it \
--user 1000:1000 \
--volume "$PWD:/workspace" \
--volume "$PWD/cache:/gcache" \
--workdir "/workspace" \
kubricdockerhub/kubruntudev:latest \
/bin/bash
# training, hdri scene
python fy/run_watch.py --render_multiview --render_non_violate_video --num_per_cls 5000 --test_scene_cls collision_free_fall --scene_type hdri
For testing
python fy/run_tiancheng.py --save_states True --debug True
python fy/run_tiancheng.py --save_states False --debug False