Coder Social home page Coder Social logo

mugdhak21 / dual-dmp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from astaka-pe/dual-dmp

0.0 0.0 0.0 107.27 MB

Learning Self-prior for Mesh Denoising using Dual Graph Convolutional Networks [ECCV 2022]

Home Page: https://doi.org/10.1007/978-3-031-20062-5_21

Python 100.00%

dual-dmp's Introduction

Dual Deep Mesh Prior [ECCV2022]

The official implementation of Learning Self-prior for Mesh Denoising using Dual Graph Convolutional Networks, ECCV2022.

A deep-learning framework for mesh denoising from a single noisy input, where two graph convolutional networks are trained jointly to filter vertex positions and facet normals apart.

Method Overview

Results


Getting Started

Tested environment

  • ubuntu 20.04
  • CUDA 10.2 CUDA 9.0
  • NVIDIA GeForce TITAN X 12GB

1. Installation

git clone https://github.com/astaka-pe/Dual-DMP
cd Dual-DMP
conda env create -f environment.yml
conda activate ddmp

for pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html

2. Preparation

The Dataset is distributed as a zip file. Please unzip and place it under Dual-DMP directory.

3. Training

  • CAD model
python main.py -i datasets/fandisk --k1 3 --k2 0 --k3 3 --k4 4 --k5 2 --bnfloop 5
  • Non-CAD model
python main.py -i datasets/ankylosaurus
  • Real-scanned model
python main.py -i datasets/pyramid --iter 50

Outputs will be generated under datasets/{model-name}/output/ with their MAD scores.


Appendix

Training with your own data

Place a noisy mesh and a ground-truth mesh under datasets/{model-name}/ .

  • Noisy mesh: {model-name}_noise.obj
  • Ground-truth mesh: {model-name}_gt.obj

Run

python preprocess/preprocess.py -i datasets/{model-name}

for edge-based normalization and creating initial smoothed mesh.

Finally, run

python main.py -i datasets/{model-name}

You should set appropriate weights as discribed in the paper.

Training without using ground-truth data

After runnning preprocess.py, run

python main4real.py -i datasets/{model-name}

Creating noisy data

Run

python preprocess/noisemaker.py -i datasets/{model-name}/{model-name}.obj --level {noise-level}

Citation

@InProceedings{hattori2022ddmp,
  author        = {Hattori, Shota and Yatagawa, Tatsuya and Ohtake, Yutaka and Suzuki, Hiromasa},
  title         = {Learning Self-prior for Mesh Denoising using Dual Graph Convolutional Networks},
  booktitle     = {Proceedings of the European Conference on Computer Vision (ECCV)},
  year          = {2022},
  doi           = {10.1007/978-3-031-20062-5_21}
}

dual-dmp's People

Contributors

astaka-pe avatar mugdhak21 avatar

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.