Giter VIP home page Giter VIP logo

cloud_nerf's Introduction

Cloud NeRF

This is the official implementation of Neural Radiance Fields with Points Cloud Latent Representation. [Paper][Project Page]

Instruction

  • Please download and arrange the dataset same as the instruction.
  • For the environment, we provide our Docker image for the best reproduction.
  • The scen optimization scripts are provided in the instruction.

Data

  • We evaluate our framework on forward-facing LLFF dataset, available at Google drive.
  • We also need to download the pre-trained MVS depth estimation at Google drive.
  • Our data folder structure is same as follow:

├── datasets
│   ├── nerf_llff_data
    │   │   │──fern
    │   │   │  |   |──depths
    │   │   │  |   |──iamges
    │   │   │  |   |──images_4
    │   │   │  |   |──sparse
    │   │   │  |   |──colmap_depth.npy
    │   │   │  |   |──poses_bounds.npy
    │   │   │  |   |──...

Docker

  • We provide the Docker images of our environment at DockerHub.
  • To create docker container from image, run the following command
    docker run \
    --name ${CONTAINER_NAME} \
    --gpus all \
    --mount type=bind,source="${PATH_TO_SOURCE}",target="/workspace/source" \
    --mount type=bind,source="${PATH_TO_DATASETS}",target="/workspace/datasets/" \
    --shm-size=16GB \
    -it ${IMAGE_NAME}
    

Train & Evaluation

  • To train from scratch, run the following command
    CUDA_VISIBLE_DEVICES=1 python train.py \
    --dataset_name llff \
    --root_dir /workspace/datasets/nerf_llff_data/${SCENE_NAME}/ \
    --N_importance 64 \
    --N_sample 64 \
    --img_wh 1008 756 \
    --num_epochs 10 \
    --batch_size 4096 \
    --optimizer adam \
    --lr 5e-3 \
    --lr_scheduler steplr \
    --decay_step 2 4 6 8 \
    --decay_gamma 0.5 \
    --exp_name ${EXP_NAME}
    
  • To evaluate a checkpoint, run the following command
    CUDA_VISIBLE_DEVICES=1 python eval.py \
    --dataset_name llff \
    --root_dir /workspace/datasets/nerf_llff_data/${SCENE_NAME}/ \
    --N_importance 64 \
    --N_sample 64 \
    --img_wh 1008 756 \
    --weight_path ${PATH_TO_CHECKPOINT} \
    --split val
    

Visualization

  • Visualization of Fern scene

- Visualization of Horn scene

- Visualization of Room scene

Acknowledgement

Our repo is based on nerf, nerf_pl, DCCDIF, and Pointnet2_PyTorch.

cloud_nerf's People

Contributors

quan5609 avatar kaist-viclab avatar pmjames16 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.