Git Product home page Git Product logo

APU-SMOG

Code for Arbitrary Point Cloud Upsampling with Spherical Mixture of Gaussians (project page)

overview

Prerequisite Installation

The code has been tested with Python 3.8, PyTorch 1.9 and Cuda 10.2:

conda create --name apusmog python=3.8

conda activate apusmog

conda install pytorch=1.9.0 torchvision torchaudio cudatoolkit=10.2 -c pytorch

pip install h5py python-graph-core scipy PyYAML

To build the third party extensions:

cd third_party/lib_pointtransformer/pointops/
python setup.py install

cd third_party/pointnet2
python setup.py install

How to use the code:

Download PU1K dataset into the data/ folder.

Test on PU1K:

python main.py --config configs/apusmog_pu1k_pretrained.yaml

Train on PU1K:

python main.py --config configs/apusmog_pu1k.yaml

Evaluation:

cd evaluation
./run_me.sh

python compute_p2m.py --gt_dir ../data/PU1K/test/original_meshes/ --pred_dir ../checkpoints/apusmog_pu1k_pretrained/results/ --use_mp True
python evaluate_tf_cpu.py --gt_dir ../data/PU1K/test/input_2048/gt_8192/ --pred_dir ../checkpoints/apusmog_pu1k_pretrained/results/ --save_path ../checkpoints/apusmog_pu1k_pretrained/metrics --use_p2f

Citation

Please cite this paper with the following BibTeX:

@inproceedings{delleva2022arbitrary,
    author = {Anthony Dell'Eva and Marco Orsingher and Massimo Bertozzi},
    title = {Arbitrary Point Cloud Upsampling with Spherical Mixture of Gaussians},
    booktitle = {International Conference on 3D Vision (3DV)},
    year = {2022}
}

Acknowledgement

Codebase borrowed from 3DETR

apusmog's Projects

apusmog icon apusmog

Code for the 3DV 2022 oral paper "Arbitrary Point Cloud Upsampling with Spherical Mixture of Gaussians"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.