Giter Club home page Giter Club logo

cq-nir's Introduction

CQ-NIR

We introduce to learn neural implicit representations with quantized coordinates, which reduces the uncertainty and ambiguity in the field during optimization.

This is the official repo for the implementation of CQ-NIR: Coordinate Quantized Neural Implicit Representations for Multi-view 3D Reconstructionn.accepted at ICCV 2023.

Citation

Cite as below if you find this repository is helpful to your project:

@inproceedings{sijia2023quantized,
  title={Coordinate Quantized Neural Implicit Representations for Multi-view 3D Reconstruction},
  author={Sijia Jiang and Jing Hua and Zhizhong Han},
  booktitle={{IEEE} International Conference on Computer Vision},
  year={2023}
}

Installation

We provide CQ-NIR on two baselines, UNISURF and NeuS.

UNISURF

Make sure that you have all dependencies in place. You can create an anaconda environment called unisurf , you can find out the instruction here.

NeuS

Make sure that you have all dependencies in place. You can create an anaconda environment called neus , you can find out the instruction here.

Dataset

UNISURF

Download the sequences of Dataset generated by the authors of UNISURF, you can find out the data here.

NeuS

Download the sequences of Dataset generated by the authors of NeuS, you can find out the data here.

Training

UNISURF

For training a UNISURF model from scratch run

cd unisurf_cq
python train.py configs/DTU/scan_0$id.yaml

NeuS

For training a NeuS model from scratch

  • Training without mask
cd neus_cq
python exp_runner.py --mode train --conf ./confs/womask.conf --case <case_name>
  • Training with mask
cd neus_cq
python exp_runner.py --mode train --conf ./confs/wmask.conf --case <case_name>

Extract mesh from a pretrained model

UNISURF

If you just want to quickly extract a mesh from a pre-trained model, you can run our demo with

cd unisurf_cq
python extract.py configs/DTU/scan_0$id.yaml 

You can find predicted meshes in unisurf_cq/out/scan_0$id/.

NeuS

Extract surface from trained model

cd neus_cq
python exp_runner.py --mode validate_mesh --conf <config_file> --case <case_name> --is_continue # use latest checkpoint

The corresponding mesh can be found in neus_cq/exp/<case_name>/<exp_name>/meshes/<iter_steps>.ply.

Acknowledgement

Some code snippets are borrowed from UNISURF and NeuS. Thanks for these great projects.

cq-nir's People

Contributors

machineperceptionlab avatar jiangsijia9495 avatar

Stargazers

 avatar  avatar  avatar  avatar WendyYang avatar Jianhang Yan avatar  avatar Pengchong Hu avatar  avatar  avatar YifanZhu avatar  avatar dongbo zhang avatar cheng zhang avatar ewrfcas avatar Jingnan Gao avatar Hyeontae Son avatar Chenyu avatar Lu Ming avatar  avatar

Watchers

cheng zhang avatar llcc avatar  avatar  avatar

Forkers

jiangsijia9495

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.