You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd configs
# modify the config template in this file.
python gen_config.py
To train and test on a single object:
# train and test on lego
python train.py --config configs/lego_hybrid.txt
# test with a pretrained checkpoint
python train.py --config configs/lego_hybrid.txt --render_only 1 # choose the default ckpt
python train.py --config configs/lego_hybrid.txt --render_only 1 --ckpt path/to/ckpt # speficy ckpt path
By default, we test and report at all compression levels (groups), which may take some time to finish.
Compose multiple objects / scenes
To compose multiple pretrained objects in to a scene, we can modify the composition settings (model checkpoint and transformation matrix) in compose.py.
We provide some composed scenes as examples too:
The config file is still needed to provide testing camera poses.
--ckpt none means we are going to compose on an empty scene, else we will compose on the hotdog scene, which is not desired for the current example.