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
This repo implements a BSP-CVAE model, which uses the idea of BSP-Net but is a generative model.
reconstruction on ScanNet:
generation (interpolated latent codes):
Install
This repo is tested on Ubuntu16.04, CUDA 10.1.
For the python dependencies, see requirements.txt.
We also use two Cython extensions, install them by python setup.py build_ext --inplace.
Data are assumed to be located in ${data_root}/datasets/, where ${data_root} can be set in main.py.
ShapeNet
We use the preprocessed data provided by RfDNet, please follow their instructions and put it under ${data_root}/datasets/ShapeNetv2_data.
We use 8 classes ('table', 'chair', 'bookshelf', 'sofa', 'trash_bin', 'cabinet', 'display', 'bathtub') in ShapeNet to train the model.
ScanNet & Scan2CAD
If you want to test the reconstruction performance under indoor scenes, you should also download preprocessed ScanNet and Scan2CAD datasets following these instructions, and put it under ${data_root}/datasets/scannet.
Train
The options and parameters should be modified directly in main.py.
# train with default settings.
bash train.sh
It takes about 4 days to train the model for 800 epochs on a single GPU.
Logs are saved in workspace/log_${exp_name}.txt.
Checkpoints are saved in workspace/checkpoints.
Tensorboard records are saved in workspace/run.