The ModelNet40 dataset can be downloaded from here.
Then create a soft link by running:
ln -s /path/to/download/modelnet40_normal_resampled /path/to/this/directory/
Run command:
python modelnet40_tools.py
The ScanNetV2 dataset can be downloaded from here.
Run commands below:
cd /path/to/BackToReality/detection/Votenet/scannet
python scannet_detection_dataset.py
mv scans_toadd_scarse.npy /path/to/BackToReality/data_generation/ScanNet/CONFIG
Run commands below:
cd /path/to/BackToReality/data_generation/ScanNet
python scannet_scene_synthesis.py
mv augment_random_positions_scannet /path/to/BackToReality/detection/Votenet/scannet
Run commands below:
cd /path/to/BackToReality/detection/Votenet/scannet
python batch_load_scannet_data_virtual.py