-
Prepare data
For ModelNet 40, download dataset from https://shapenet.cs.stanford.edu/media/modelnet40_ply_hdf5_2048.zip
Next, extract it to
<code folder>/data/modelnet40_ply_hdf5_2048folder.For ScanObjectNN, please get the download link according to the instruction from this link (https://hkust-vgd.github.io/scanobjectnn/). Then, extract
training_objectdataset_augmentedrot_scale75.h5andtest_objectdataset_augmentedrot_scale75.h5to<code folder>/data/ScanObjectNN_nobg. -
training
for training on ModelNet40 with reconstruction network:
python train_recon.pyfor training on ModelNet40 without reconstruction network, of which the training is faster at a cost of minor accuracy drop:
python train_wo_recon.pyFor both of the training configuration,
--n_pointscan specify the number of points.For training on ScanObjectNN:
python train_scanobjects.py
-
Prepare data
Download dataset from: https://shapenet.cs.stanford.edu/media/shapenetcore_partanno_segmentation_benchmark_v0_normal.zip
Next, extract it to
<code folder>/data/shapenetcore_partanno_segmentation_benchmark_v0_normalfolder -
Preprocessing
To accelerate disk IO, we save the dataset as npy files:
python segment_data_preprocess.py -
Training
python train_partseg.py
We refer the following code for comparison experiments
[PointNet & PointNet++] https://github.com/yanx27/Pointnet_Pointnet2_pytorch
[DGCNN] https://github.com/WangYueFt/dgcnn
[RI-CONV] https://github.com/hkust-vgd/riconv