Status: Done
This is an unofficial implement of ASFM-Net, and I have achieved CD-P 11.87 at PCN datasets.🚀
Official repo: https://github.com/Yan-Xia/ASFM-Net
pytorch > 1.10.1 required!
cd Chamfer3D
python setup.py --user install
cd pointnet2_ops_lib
python setup.py --user install
__C.DATASETS.SHAPENET.PARTIAL_POINTS_PATH = '/home/chriskafka/dataset/ShapeNetCompletion/%s/partial/%s/%s/%02d.pcd'
__C.DATASETS.SHAPENET.COMPLETE_POINTS_PATH = '/home/chriskafka/dataset/ShapeNetCompletion/%s/complete/%s/%s.pcd'
Note that I am using gradient accumulation to simulate a big batchsize(32 in paper), You can set accumulation_steps = 1
in train_*.py under core directoroies to cancel this.
https://www.tensorflow.org/tensorboard/get_started?hl=zh-cn
python main_pcn.py --baseline
__C.CONST.PCNWEIGHTS = 'checkpoint/pcn-baseline-best.pth'
train ASFM-net.
python main_pcn.py --backbone
bs 32, 116 epochs, CD Loss descended to 11.87(12.09 in paper).
PCN pytorch implementation refers to https://github.com/paul007pl/VRCNet.
Point Clouds Utils(FPS, CD) borrowed from https://github.com/AllenXiangX/SnowflakeNet.
Data precessing codes comes from https://github.com/hzxie/GRNet.
And thanks ASFM-Net for their contributions.
If you have any suggestions or ideas about my work, feel free to refer a issue even a pr to keep me informed, thanks again.