All Projects → amosgropp → Igr

amosgropp / Igr

Implicit Geometric Regularization for Learning Shapes

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Igr

Softras
Project page of paper "Soft Rasterizer: A Differentiable Renderer for Image-based 3D Reasoning"
Stars: ✭ 715 (+694.44%)
Mutual labels:  3d-reconstruction
Bundlefusion
[Siggraph 2017] BundleFusion: Real-time Globally Consistent 3D Reconstruction using Online Surface Re-integration
Stars: ✭ 979 (+987.78%)
Mutual labels:  3d-reconstruction
Awesome Cryoem
A collaborative list of awesome CryoEM (Cryo Electron Microscopy) resources.
Stars: ✭ 66 (-26.67%)
Mutual labels:  3d-reconstruction
Meshroom
3D Reconstruction Software
Stars: ✭ 7,254 (+7960%)
Mutual labels:  3d-reconstruction
Scannet
Stars: ✭ 860 (+855.56%)
Mutual labels:  3d-reconstruction
Pifu
This repository contains the code for the paper "PIFu: Pixel-Aligned Implicit Function for High-Resolution Clothed Human Digitization"
Stars: ✭ 1,021 (+1034.44%)
Mutual labels:  3d-reconstruction
Matterport
Matterport3D is a pretty awesome dataset for RGB-D machine learning tasks :)
Stars: ✭ 583 (+547.78%)
Mutual labels:  3d-reconstruction
Dj Rn
As a part of HAKE project (HAKE-3D). Code for our CVPR2020 paper "Detailed 2D-3D Joint Representation for Human-Object Interaction".
Stars: ✭ 78 (-13.33%)
Mutual labels:  3d-reconstruction
Rgbd rtk
RGB-D Reconstruction Toolkit
Stars: ✭ 27 (-70%)
Mutual labels:  3d-reconstruction
Py3drec
3D modeling from uncalibrated images
Stars: ✭ 65 (-27.78%)
Mutual labels:  3d-reconstruction
3d Machine Learning
A resource repository for 3D machine learning
Stars: ✭ 7,405 (+8127.78%)
Mutual labels:  3d-reconstruction
Gradslam
gradslam is an open source differentiable dense SLAM library for PyTorch
Stars: ✭ 833 (+825.56%)
Mutual labels:  3d-reconstruction
Floor Sp
Floor-SP: Inverse CAD for Floorplans by Sequential Room-wise Shortest Path, ICCV 2019
Stars: ✭ 54 (-40%)
Mutual labels:  3d-reconstruction
Face swap
End-to-end, automatic face swapping pipeline
Stars: ✭ 722 (+702.22%)
Mutual labels:  3d-reconstruction
3d Reconstruction With Neural Networks
3D reconstruction with neural networks using Tensorflow. See link for Video (https://www.youtube.com/watch?v=iI6ZMST8Ri0)
Stars: ✭ 71 (-21.11%)
Mutual labels:  3d-reconstruction
Teaser Plusplus
A fast and robust point cloud registration library
Stars: ✭ 607 (+574.44%)
Mutual labels:  3d-reconstruction
Mirror
Matchable Image Retrieval by Learning from Surface Reconstruction
Stars: ✭ 44 (-51.11%)
Mutual labels:  3d-reconstruction
Bundler sfm
Bundler Structure from Motion Toolkit
Stars: ✭ 1,296 (+1340%)
Mutual labels:  3d-reconstruction
Pymeshfix
Python Wrapper for MeshFix: easily repair holes in PyVista surface meshes
Stars: ✭ 75 (-16.67%)
Mutual labels:  3d-reconstruction
Vgg Multiple View Geometry
A set of MATLAB utilities for multiple view geometry, provided alongside Hartley & Zisserman's "Multiple View Geometry in Computer Vision, Second Edition" (2004). Obtained from http://www.robots.ox.ac.uk/~vgg/hzbook/code/.
Stars: ✭ 62 (-31.11%)
Mutual labels:  3d-reconstruction

IGR: Implicit Geometric Regualrization for Learning Shapes

This repository contains an implementation to the ICML 2020 paper: "Implicit Geometric Regualrization for Learning Shapes".

IGR is a deep learning approach for learning implicit signed distance representations directly from raw point clouds with or without normal data. Our method aims to find an SDF by optimizing the network to solve the eikonal equation with the input point cloud as boundary condition. Although this is an ill posed condition we enjoy an implicit regualrization coming from the optimization procedure itself which aims our method to simple natrual solutions as can be seen on the figure above.

For more details:

paper: https://arxiv.org/abs/2002.10099.

video: https://youtu.be/6cOvBGBQF9g.

Installation Requirmenets

The code is compatible with python 3.7 and pytorch 1.2. In addition, the following packages are required:
numpy, pyhocon, plotly, scikit-image, trimesh.

Usage

Surface reconstruction

IGR can be used to reconstruct a single surface given a point cloud with or without normal data. Adjust reconstruction/setup.json to the path of the input 2D/3D point cloud:

train
{
  ...
  d_in=D
  ...
  input_path = your_path
  ...
}

Where D=3 in case we use 3D data or 2 if we use 2D. We support xyz,npy,npz,ply files.

Then, run training:

cd ./code
python reconstruction/run.py 

Finally, to produce the meshed surface, run:

cd ./code
python reconstruction/run.py --eval --checkpoint CHECKPOINT

where CHECKPOINT is the epoch you wish to evaluate of 'latest' if you wish to take the most recent epoch.

Learning shapespace from the D-Faust oriented point clouds

Data

The raw scans can be downloaded from http://dfaust.is.tue.mpg.de/downloads. In order to sample point clouds with normals use:

cd ./code
python preprocess/dfaust.py --src-path SRC_PATH --out-path OUT_PATH

where SRC_PATH is the absoule path of the directory with the original D-Faust scans, and OUT_PATH is the absolute path of the directory on which you wish to output the processed point clouds.

It is also possible to process only train data with input --mode 0 our only test with --mode 1.

In case you wish to only process part of the data (e.g. for parallel processing) it is possible by adding --names NAME_1,NAME_2,...,NAME_k where NAME_i is one of D-Faust shapes e.g. 50002, 50020.

After preprocessing ended adjust the file ./shapespace/dfaust_setup.conf to the cur path of the data:

train
{
  ...
  dataset_path = OUT_PATH/dfaust_processed
  ...
}

Predicting meshed surfaces with IGR pretrained network

We have uploaded IGR trained network. To produce predictions on unseen test scans, run:

cd ./code
python shapespace/eval.py --checkpoint 1200 --exp-name dfaust_pretrained --split dfaust/test_all.json --exps-dir trained_models

In case you wish to generate less models you can use --split dfaust/test_models.json

Interpolating latents of IGR pretrained network

To meshs of latent interpolation between two shapes use:

cd ./code
python shapespace/interpolate.py --interval INTERVAL --checkpoint 1200 --exp-name dfaust_pretrained --exps-dir trained_models

Where INTERVAL is the number (int) linspace of latent interpolations.

In case you wish to interpolate different shapes adjust the file dfaust/interpolation.json

Training

If you want to train IGR yourself, run:

cd ./code
python shapespace/train.py

Citation

If you find our work useful in your research, please consider citing:

@incollection{icml2020_2086,
 author = {Gropp, Amos and Yariv, Lior and Haim, Niv and Atzmon, Matan and Lipman, Yaron},
 booktitle = {Proceedings of Machine Learning and Systems 2020},
 pages = {3569--3579},
 title = {Implicit Geometric Regularization for Learning Shapes},
 year = {2020}
}

Related papers

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].