All Projects → yifita → 3PU_pytorch

yifita / 3PU_pytorch

Licence: other
pytorch implementation of >>Patch-base progressive 3D Point Set Upsampling<<

Programming Languages

python
139335 projects - #7 most used programming language
Cuda
1817 projects
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to 3PU pytorch

Openmvs
open Multi-View Stereo reconstruction library
Stars: ✭ 1,842 (+2919.67%)
Mutual labels:  point-cloud, 3d-reconstruction
Silhouette-Guided-3D
PyTorch Code of our WACV2020 paper: Silhouette Guided Point Cloud Reconstruction beyond Occlusion
Stars: ✭ 36 (-40.98%)
Mutual labels:  point-cloud, 3d-reconstruction
Meshlab
The open source mesh processing system
Stars: ✭ 2,619 (+4193.44%)
Mutual labels:  point-cloud, 3d-reconstruction
Msn Point Cloud Completion
Morphing and Sampling Network for Dense Point Cloud Completion (AAAI2020)
Stars: ✭ 196 (+221.31%)
Mutual labels:  point-cloud, 3d-reconstruction
Point2Mesh
Meshing Point Clouds with Predicted Intrinsic-Extrinsic Ratio Guidance (ECCV2020)
Stars: ✭ 61 (+0%)
Mutual labels:  point-cloud, 3d-reconstruction
Awsome deep geometry learning
A list of resources about deep learning solutions on 3D shape processing
Stars: ✭ 105 (+72.13%)
Mutual labels:  point-cloud, 3d-reconstruction
Pcn
Code for PCN: Point Completion Network in 3DV'18 (Oral)
Stars: ✭ 238 (+290.16%)
Mutual labels:  point-cloud, 3d-reconstruction
3d Machine Learning
A resource repository for 3D machine learning
Stars: ✭ 7,405 (+12039.34%)
Mutual labels:  point-cloud, 3d-reconstruction
NeuralPull
Implementation of ICML'2021:Neural-Pull: Learning Signed Distance Functions from Point Clouds by Learning to Pull Space onto Surfaces
Stars: ✭ 149 (+144.26%)
Mutual labels:  point-cloud, 3d-reconstruction
3pu
Patch-base progressive 3D Point Set Upsampling
Stars: ✭ 131 (+114.75%)
Mutual labels:  paper, point-cloud
Learning Deep Learning
Paper reading notes on Deep Learning and Machine Learning
Stars: ✭ 388 (+536.07%)
Mutual labels:  paper, point-cloud
softpool
SoftPoolNet: Shape Descriptor for Point Cloud Completion and Classification - ECCV 2020 oral
Stars: ✭ 62 (+1.64%)
Mutual labels:  point-cloud, 3d-reconstruction
cv-arxiv-daily
🎓Automatically Update CV Papers Daily using Github Actions (Update Every 12th hours)
Stars: ✭ 216 (+254.1%)
Mutual labels:  paper, 3d-reconstruction
pyRANSAC-3D
A python tool for fitting primitives 3D shapes in point clouds using RANSAC algorithm
Stars: ✭ 253 (+314.75%)
Mutual labels:  point-cloud, 3d-reconstruction
awesome-internals
A curated list of awesome resources and learning materials in the field of X internals
Stars: ✭ 78 (+27.87%)
Mutual labels:  paper
learning-topology-synthetic-data
Tensorflow implementation of Learning Topology from Synthetic Data for Unsupervised Depth Completion (RAL 2021 & ICRA 2021)
Stars: ✭ 22 (-63.93%)
Mutual labels:  3d-reconstruction
pcljava
A port of the Point Cloud Library (PCL) using Java Native Interface (JNI).
Stars: ✭ 19 (-68.85%)
Mutual labels:  point-cloud
MoCo
A pytorch reimplement of paper "Momentum Contrast for Unsupervised Visual Representation Learning"
Stars: ✭ 41 (-32.79%)
Mutual labels:  paper
sympy-paper
Repo for the paper "SymPy: symbolic computing in python"
Stars: ✭ 42 (-31.15%)
Mutual labels:  paper
pc2vid
converts set of point clouds to a video using three.js
Stars: ✭ 18 (-70.49%)
Mutual labels:  point-cloud

Pytorch 1.0 implementation of paper "Patch-base progressive 3D Point Set Upsampling"

This code is a re-implementation of the original tensorflow code in pytorch 1.0. To reproduce results reported in the paper, please use the tensorflow code.

Complete Demo

Make sure cuda, cudnn, nccl is correctly installed. We tested with cuda 9.2 and cudnn 7.4.1 but cuda 9.0+ should work.

# clone
git clone https://github.com/yifita/3PU_pytorch
cd 3PU_pytorch
# download pretrained models
curl -o pytorch_converted_models.zip -O {https://polybox.ethz.ch/index.php/s/QsnhBDg17bX8alE/download}
unzip pytorch_converted_models.zip
# download test data
curl -o data/test_data/test_points.zip -O https://polybox.ethz.ch/index.php/s/wxKg4O05JnyePDK/download
unzip -d data/test_data/ data/test_data/test_points.zip

# conda environment
conda env create -f environment.yml
conda activate pytorch-1.0

# compile
cd losses
python setup.py install
cd ../sampling
python setup.py install

# run code
python main.py --phase test --num_point 312 --num_shape_point 5000 --up_ratio 16 --test_data  "data/test_data/sketchfab_poisson/poisson_5000/*.xyz" --ckpt final_poisson.pth

data preparation

We use h5 file for training, download it here. To create input point clouds from meshes, please follow this instruction.

We converted the pretrained models described here to pytorch. Download them here. This file contains two pytorch binaries final_poisson.pth and final_scan.pth, unzip them

compile

  1. Install cuda, cudnn and nccl if you haven't done so yet.
  2. Create conda environment conda env create -f enviroment.yml with the prepared enviroment.yml. This will create a conda environment named "pytorch-1.0".
  3. Compile pytorch extension
    conda activate pytorch-1.0
    cd losses
    python setup.py install
    cd ../sampling
    python setup.py install

execution

testing

# 16x superresolution and save the results under "./model/poisson"
python main.py --phase test --id "poisson" --num_point 312 --num_shape_point 5000 --up_ratio 16 --test_data  "data/test_data/sketchfab_poisson/poisson_5000/*.xyz" --ckpt ./model/final_poisson.pth 

training

Download training data from here.

The training code uses visdom for visualization. Start visdom and go to http://localhost:8097 in browser to see monitor training progress.

conda activate pytorch-1.0
python -m visdom.server

Then run the training command in another terminal

# training using default settings
conda activate pytorch-1.0

python main.py --phase train --id "demo_train" --num_point 312 --num_shape_point 5000 --up_ratio 16 --h5_data train_poisson_310_poisson_625_poisson_1250_poisson_2500_poisson_5000_poisson_10000_poisson_20000_poisson_40000_poisson_80000.hdf5

cite

@InProceedings{Yifan_2019_CVPR,
author = {Yifan, Wang and Wu, Shihao and Huang, Hui and Cohen-Or, Daniel and Sorkine-Hornung, Olga},
title = {Patch-Based Progressive 3D Point Set Upsampling},
booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2019}
}

acknowledgement

This code based is created cortesy of erikwijmans, charlesq34 and yangyan.

contact

Yifan Wang: [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].