This is the code accompanying the 3DB blog post/walkthrough. You can find an abbreviated guide on running the code below; see the post for more details and context.
- Clone
https://github.com/3db/3db
- Run
bash setup.sh
(assumesunzip
is installed) to download the studio environment - Run
curl https://raw.githubusercontent.com/3db/installers/main/linux_x86_64.sh | bash /dev/stdin threedb
to install 3DB - Run
conda activate threedb
- Run your desired experiment, replacing
EXPERIMENT
with one of{backgrounds, texture_swap, part_of_object}
:
export BLENDER_DATA=data/EXPERIMENT RESULTS_FOLDER=results/
threedb_master $BLENDER_DATA EXPERIMENT.yaml $RESULTS_FOLDER \$SLURM_STEP_RESV_PORTS
threedb_workers 1 $BLENDER_DATA 5555
- Analyze the results using the included notebooks (see the
analysis/
folder), or by launching the dashboard:
python -m threedb.dashboard $RESULTS_FOLDER