KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
nerf-supervision-public
★ 207
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
XiHan.BasicApp
:
基于 .Net + TS 的超高颜值中后台内核。 开箱即用,提供 RBAC + ABAC 混合权限管理、多租户隔离、代码生成、实时通信、灰度发布、AI等核心能力,满足新型企业级中后台管理场景。属于曦寒懿(XiHanFun)开源生态的基础应用,拥有底座、组件、应用的完整生态。
angular-pro-sidebar
:
Responsive sidebar template with dropdown menu built with angular 7 and bootstrap 4
angular4-docker-example
:
Efficiently Dockerized Angular CLI example app
envoy-wasm
:
*ATTENTION!: The content of this repo is merged into https://github.com/envoyproxy/envoy and future development is happening there.
torch-ac
:
Recurrent and multi-process PyTorch implementation of deep reinforcement Actor-Critic algorithms A2C and PPO
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
nerf-supervision-public
?
Download (.md)
# NeRF-Supervision ### [Project Page](https://yenchenlin.me/nerf-supervision/) | [Video](https://www.youtube.com/watch?v=_zN-wVwPH1s) | [Paper](https://arxiv.org/abs/2203.01913) | [Data](https://drive.google.com/drive/folders/11uBvHlLfe1kNPUGlsah_OwyRoXK9OOkt?usp=sharing) [](https://colab.research.google.com/drive/13ISri5KD2XeEtsFs25hmZtKhxoDywB5y?usp=sharing)<br> PyTorch implementation of NeRF-Supervision, an RGB-only, self-supervised pipeline for learning object-centric dense descriptors from neural radiance fields (NeRFs). [NeRF-Supervision: Learning Dense Object Descriptors from Neural Radiance Fields](https://yenchenlin.me/nerf-supervision/) [Lin Yen-Chen](https://yenchenlin.me/)<sup>1</sup>, [Pete Florence](http://www.peteflorence.com/)<sup>2</sup>, [Jonathan T. Barron](http://jonbarron.info/)<sup>2</sup>, [Tsung-Yi Lin](https://scholar.google.com/citations?user=_BPdgV0AAAAJ&hl=en)<sup>3</sup>, [Alberto Rodriguez](https://meche.mit.edu/people/faculty/ALBERTOR@MIT.EDU)<sup>1</sup>, [Phillip Isola](http://web.mit.edu/phillipi/)<sup>1</sup> <br> <sup>1</sup>MIT, <sup>2</sup>Google, <sup>3</sup>Nvidia <br> [ICRA 2022](https://www.icra2022.org/) <img src='https://user-images.githubusercontent.com/7057863/156472748-f000ed0a-8b56-4e2a-b86f-f378dddeb007.png' height="200"> ### What This Repo Contains? This repo hosts the code for step (a) Use RGB images to optimize NeRF and (b) Generate dense correspondences. For step (c) Train dense object descriptors, we refer users to [pytorch-dense-correspondence](https://github.com/RobotLocomotion/pytorch-dense-correspondence). ### Dependencies Install the following dependencies before you run the code: ``` pip install -r requirements.txt ``` - [COLMAP](https://colmap.github.io/) ### How to Run? In the following, we will use `fork` as an example: ``` OBJECT=fork ``` To use other objects, one can simply set the variable `OBJECT=your_favorite_object`. #### Download example data ``` cd data gdown 16_y_Nnh19Qhml0bg9RYR-hav0YOpWKuw unzip -q $OBJECT.zip cd .. ``` #### Generate camera poses and sparse depth information using COLMAP The data should look like the following: ``` ├── data │ ├── fork │ │ ├── images │ │ │ ├── 000001.png │ │ │ ├── 000002.png │ │ │ ├── ... ``` To generate camera poses and the sparse point cloud: ``` python imgs2poses.py --data_dir ./data/$OBJECT ``` #### Train NeRFs To train a DS-NeRF: ``` python DS_NeRF/run_nerf.py --config DS_NeRF/configs/$OBJECT.txt ``` All the checkpoints and rendered images will be saved in `./logs/$OBJECT`. #### Generate The Correspondence Dataset Once the training is done, run the following lines: ``` python DS_NeRF/run_nerf.py --config DS_NeRF/configs/$OBJECT.txt --render_only --render_train --render_factor 2 ``` This should produce a new directory called `logs/$OBJECT/renderonly_train_$ITER` where `$ITER` corresponds to the number of training iterations. This directory contains the generated correspondence and will be used in the next step! #### Examine The Correspondence Dataset We provide the following interface to examine the correspondences generated by NeRFs.  1. Launch the jupyter notebook: ``` jupyter notebook examine-correspondence.ipynb ``` 2. In the first cell, specify `DATA_DIR` with the directory we generated from the last step: `logs/$OBJECT/renderonly_train_$ITER`. For example, it can be `logs/$OBJECT/renderonly_train_049999`. ## Citation ``` @inproceedings{yen2022nerfsupervision, title={{NeRF-Supervision}: Learning Dense Object Descriptors from Neural Radiance Fields}, author={Lin Yen-Chen and Pete Florence and Jonathan T. Barron and Tsung-Yi Lin and Alberto Rodriguez and Phillip Isola}, booktitle={IEEE Conference on Robotics and Automation ({ICRA})}, year={2022} } ``` This codebase is highly based on the following publication: ``` @article{kangle2021dsnerf, title={Depth-supervised NeRF: Fewer Views and Faster Training for Free}, author={Deng, Kangle and Liu, Andrew and Zhu, Jun-Yan and Ramanan, Deva}, journal={arXiv preprint arXiv:2107.02791}, year={2021} } ```