Giter Site home page Giter Site logo

fine-grained-indoor-recon's Introduction

Indoor Scene Reconstruction with Fine-Grained Details

We propose a new method for high quality reconstruction of indoor scenes using Hybrid Representation and Normal Prior Enhancement. The paper has been accepted by TVCG.

Usage

Data preparation

The data is organized as follows:

<scene_name>
|-- cameras_sphere.npz   # camera parameters
|-- image
    |-- 0000.png        # target image for each view
    |-- 0001.png
    ...
|-- weight
    |-- 0000.npy        # uncertainty weight for each view
    |-- 0001.npy
    ...
|-- pose
    |-- 0000.txt        # camera pose for each view
    |-- 0001.txt
    ...
|-- pred_normal_refine
    |-- 0000.npz        # predicted normal for each view
    |-- 0001.npz
    ...
|-- xxx.ply		# GT mesh or point cloud from MVS
|-- trans_n2w.txt       # transformation matrix from normalized coordinates to world coordinates

Please refer to scripts/preprocess.sh for step-by-step data processing. We also provide demo pre-processed data (download), which can be directly reconstructed using our method.

For the weight of our uncertainty estimation module (U-Net), here is the download link: https://drive.google.com/file/d/18mvYnUISLIG9yKdbWeKgHiB5yZ_6Eym6/view?usp=sharing

Setup

conda create -n recon python=3.8
conda activate recon
conda install pytorch=1.9.0 torchvision torchaudio cudatoolkit=10.2 -c pytorch
pip install -r requirements.txt

Training

python ./exp_runner.py --mode train --conf ./confs/scannet_0050.conf --gpu 0

Mesh extraction

python exp_runner.py --mode validate_mesh --conf ./confs/scannet_0050.conf --is_continue --gpu 0

Evaluation

python ./exp_evaluation.py --scene scene0050_00 --iter 50000 --reso 512

fine-grained-indoor-recon's People

Contributors

yec22 avatar

Stargazers

Rekkles avatar  avatar  avatar Alexandre Morgand avatar  avatar Yihao Wang avatar Ma Hui avatar  avatar  avatar  avatar Gene avatar

Watchers

 avatar

fine-grained-indoor-recon's Issues

About the comparison meshes

Hi, thanks for your great job! Can you share the meshes you mentioned on replica dataset including NeuralAngelo, Manhattan SDF and NeuRIS?

Uncertainty Estimation Module--UNet weight

Hello,Glad to see your excellent work, but we cannot reproduce your work .
I have a question Looking forward to receiving a reply.
In your code preprocess.sh, we tried to get ckpt_epoch_5.pth of Unet.
image

Could you tell me how to achieve this process in your paper?
image

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.