Commit Graph
246 Commits
Author SHA1 Message Date
Matthew Tancik a9eea19880 Update method docs (#1742)
* Update method docs

* typo
2023-04-14 15:02:45 -07:00
6a7c8820b8 Viewer backend refactor (#1702)
* Copy in `viser` communication infrastructure

* Update background image

* Add build directory to fix viser HTTP server
May want to remove these later

* Copy in `viser` communication infrastructure

* Update background image

* Pass dataset vis using viser

* initial impl of ViewerParameter

* idk what i did but brent and matt know

* Suppress eslint typescript warnings

* implement ViewerElement base class, then ViewerButton, ViewerSlider, etc

* client -> server message setup

* multi folder stuff

* Stream controls over viser

* import

* add types to viewer_param.py

* Move another message to viser

* Update folder color

* Use non throttled messages

* multiple folders works

* Cleanup, more porting

* starting impl of control panel in viser

* More porting

* scenebox to viser

* Cleanup

* Fix render updates

* More cleanup, docs, typing

* start control_panel.py

* set_hidden logic but not merged in

* control_panel replicates behavior of existing control panel (visually), except for setting the list of output options. not yet integrated with viewer_utils.py for logic flow. also implemented set_disabled and set_hidden in javscript/ViewerElement side

* Remove some original leva components

* add some train util logic, attempt set_value, doesn't work on javascript side fully yet (value updates but not slider visually

* bye zmq

* missing call to decoder

* 'gui_set' works properly, control panel now replicates behavior of original

* remove print

* Fix status viewer message

* More cleanup

* support set_options in dropdown

* hiding buttons works correctly

* fix set_options, switch from cur_value to get_value()

* Fix slowdown

* output options

* colormap logic converted

* add handle to cb_hook

* fix some lambda bugs

* cleanup

* Save checkpoint logic readded

* Cleanup and minor fixes

* snappier ui

* Refactoring

* Fix state update bugs

* Bug fixes

* Write less to redux

* added comments to reducer code

* Render state machine (#1727)

* state machine works, but train step throttling not implemented

* more step logic, cleanup

* remove random try catcH

* mutex logic for render

* Update lock logic

* types and docs

* added some state machine logic to help rerenders

* merge

---------

Co-authored-by: Justin <justin.g.kerr@gmail.com>

* Refactor and cleanup

* More cleanup and docs

* docstring to gui_utils

* docstrings, rename viewer_param.py to viewer_elements.py

* Fix viewer, remove bridge stuff

* Render on connect

* Fix lint errors

* More eslint fixes

* render_freq logic

* better rerender logic for crop

* More cleanup

* Purge

* Cleanup

* Lint fixes

* Fix cache

* better parsing logic

* Fix infinite test

* More cleanup

* typo

* Update webdocs

* Update docs

* rerender on custom hooks

* add more docs

* Use shared utilities in `viser.infra`

* rework callback to use elements instead of handles

* Fix ESlint errors

* change naming of handle to element, add setter for value

* cleanup

---------

Co-authored-by: Matt Tancik <mattt4001@gmail.com>
Co-authored-by: Justin <justin.g.kerr@gmail.com>
Co-authored-by: Ethan Weber <eweb0124@gmail.com>
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-04-14 14:53:10 -07:00
Matthew Tancik e5e67a7a5a Update blender web docs (#1740)
Update blender docs
2023-04-14 11:42:19 -07:00
Ayaan Haque b85cb9f979 update in2n docs based (#1721)
* base changes

* done for now, just need assets

* fix

* add few changes

* remove unused files

* fixse
2023-04-11 13:05:51 -07:00
Matthew Tancikandayaanzhaque 2c6a328780 Add instruct-nerf2nerf to docs (#1711)
* base changes

* done for now, just need assets

* fix

* Update docs

---------

Co-authored-by: ayaanzhaque <ayaanzhaque@gmail.com>
2023-04-10 11:26:21 -07:00
Matthew Tancik 2e777e4577 Update dataparser docs (#1698)
* Update dataparser docs

* Add missing files
2023-04-04 18:30:52 -07:00
Matthew Tancik 7126334976 Docs for adding new methods (#1697) 2023-04-04 12:49:15 -07:00
Matthew Tancik 4e6c52c8fd Update sphinx docs (#1695) 2023-04-04 11:08:09 -07:00
Alex-Zhang b0dca720a8 Update installation.md (#1675)
* Update installation.md

install ninja to speed up installation of tinycuda-nn

* Update installation.md

* update readme and installation
2023-03-31 16:00:53 -07:00
Matthew Tancik 2b8140b583 Add SDFStudio links (#1653)
Add sdf studio links
2023-03-23 15:43:34 -07:00
Rohan MathurandMatthew Tancik ea9a066f8f Removed deprecated insta360 (#1621)
* removed insta360 and also updated equirect images docs to include cropping

* removed unused import

---------

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-03-17 12:54:45 -07:00
Matthew Tancik f58aa9348e Prevent colmap from opening (#1627) 2023-03-17 11:03:13 -07:00
Julian RendellandMatthew Tancik fac13d0bab Adding explicit pytorch version for Cuda 11.7 installs (#1611)
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-03-15 20:56:34 -07:00
Matthew Tancik 1b18b44d81 Update 360 docs (#1593)
* Update 360 docs

* Update custom_dataset.md

* Update custom_dataset.md
2023-03-12 11:14:58 -07:00
Matthew Tancik 63af268495 Remove webrtc (#1579)
* Remove webrtc

* cleanup

* lint

* cleanup

* Lower quailty

* Update viewer version

* Update docs

* remove cryptography req
2023-03-10 12:00:35 -08:00
Frédéric DevernayandFrédéric Devernay a277cd4886 camera_utils: add "vertical" orientation and "focus" center methods (#1543)
* camera_utils: add "vertical" orientation and "focus" center methods

* camera_utils: -Z is the look-at direction

* Update nerfstudio_dataparser.py

* missing import

* fix pylint issues

* camera_utils: handle degenerate case for "vertical" orientation method

* camera_utils: split focus_of_attention computation

---------

Co-authored-by: Frédéric Devernay <f-dy@users.noreply.github.com>
2023-03-10 11:22:21 -08:00
Rohan Mathur 403ab26f0c Changed percent-crop to crop-factor so it's less confusing (#1575)
* changed percent-crop arg to crop-factor so it's more clear that it's a float

* added error if crop values are less than 0 or more than 1

* added value hint and changed error to console thing

* added imports

* fixed linter issues

* refixed linter issues
2023-03-09 12:23:50 -08:00
Rohan Mathur 1f8a07c10e Fixed percent crop typo (#1573)
I put 20 instead of 0.2
2023-03-08 19:39:27 -08:00
Jaldert Rombouts b66dc0c20c Correct instructions for Docker build (#1557)
This fixes the instruction for the cuda-architecture specific Docker build.
2023-03-08 07:47:43 -08:00
Rohan Mathur 9dc7fc2e44 Added documentation for equirectangular input (#1561)
* added documentation for equirectangular

* fixed typo and mentioned 3fps is empirical
2023-03-07 15:28:21 -08:00
Loïc Magne 7b8999ac3d Fix typo in docs Nerfology/Model components/Ray samplers (#1553)
fixed typo
2023-03-03 09:56:37 -08:00
misza222 5c810521a5 Update nerf.md (#1546)
Add useful info that it doesn't require GPU to execute
2023-03-02 09:12:46 -08:00
Paul Wais 5c73766653 SFM: sfm-based depth, some breadcrumbs for pycolmap (#1457)
* save

* save

* more cleanup

* save

* save

* update phototourism

* save

* works

* works

* cleanup

* cleanup

* lint

* python3 default

* cleanup
2023-02-25 21:10:53 -08:00
Fernando Rivas-ManzanequeandMatthew Tancik 9053643932 Volinga model and NVOL documentation (#1486)
* added volinga model to NeRFStudio

* Removed unused dependencies

* Modified dockerfile to match main

* Corrected typo in core_code_checks.yml

* Corrected typo in core_code_checks.yml

* updated test with Volinga

* Added conversion to NVOL documentation

* [WIP] Refactor documentation and removing Volinga config

* Volinga use existing NerfactoModelConfig

* Added Unreal Engine documentation to extensions

* removed unused field class import

* Updated docs

* Documentation ready

* Update Dockerfile

---------

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-02-25 14:49:53 -08:00
Jingchen Ye 871eb0f7d3 Rename friends dataset to sitcoms3d (#1503)
* Rename friends dataset with official name sitcoms3d

* Rename downloaded folder

* Fix pylint
2023-02-25 14:38:23 -08:00
Jingchen Ye e0ad53762e Rename train_split_percentage with train_split_fraction (#1497)
rename train_split_percentage with train_split_fraction
2023-02-24 11:16:37 -08:00
Matthew Tancik 1a2bbc5725 Add extensions tab (#1488) 2023-02-23 16:04:57 -08:00
Matthew Tancik ba161a2234 Update blender_addon.md 2023-02-22 15:33:33 -08:00
Nicolas ZunhammerandNicolas Zunhammer 4d333f4cb6 [Update] Add hloc to Dockerfile, bump version of docker image in dev-container, improve docs (#1478)
* Add hloc to Dockerfile, bump versions of docker release.

* Add missing dependency for pycolmap.

* Improve commenting.

---------

Co-authored-by: Nicolas Zunhammer <n.zunhammer@tum.de>
2023-02-22 21:44:53 +01:00
Dreek Fire 53e99c396b Add Windows installation tips to quickstart. (#1427)
* add hashmap size and num_levels to instant_ngp_field, issue 1158

* Add Windows installation tips to quickstart

* Include notes for CUDA 11.7

* separate duplicate targets in installation.md

* change installation page to use tabs
2023-02-21 09:24:09 -08:00
Nicolas ZunhammerandNicolas Zunhammer 2901e5f31a Bump Dockerfile versions, add user to sudoers list. (#1448)
* Update Dockerfile, bump CUDA from 11.7.1 to 11.8.0, bump Colmap from 3.7 to 3.8, add user to sudoers list.

* Improve description.

* Fix wrong description and typos.

* Add better description.

* Fix build error of Dockerfile.

* Bump pytorch versions.

---------

Co-authored-by: Nicolas Zunhammer <n.zunhammer@tum.de>
2023-02-19 13:58:33 +01:00
Matthew Tancik df0f3205f4 Add ns-viewer docs (#1450) 2023-02-18 19:03:46 -08:00
Matthew Tancik be5274db09 Add arxiv link (#1434) 2023-02-15 10:05:18 -08:00
machenmusik 9c5423f181 Update to allow pytorch (and functorch) 1.13.1 (#1390)
* Update pytorch (and functorch) to 1.13.1

Note that for existing installations, the following is recommended due to complications with older versions of functorch:
- `pip uninstall torch torchvision functorch`
- install the correct pytorch 1.13.1 version for your CUDA installation from https://pytorch.org/get-started/locally/ but add functorch to the command -- for example, Windows CUDA 11.7 would be `pip3 install torch torchvision functorch--extra-index-url https://download.pytorch.org/whl/cu117`
- reinstall nerfstudio e.g. `pip install -e .` from the source directory

* Update installation.md

* Allow 1.13.1, don't force

* pytorch 1.12.1 and 1.13.1

* Update README.md

* Update installation.md
2023-02-14 08:59:26 -05:00
Matthew Tancik 3cf2bb09ac Update citation (#1392) 2023-02-09 18:26:13 -08:00
Matthew Tancik 448e1072db Update doc link 2023-02-09 17:55:51 -08:00
Jonáš Kulhánek 6368340aa2 Add ns-viewer command to run viewer only with model in eval mode (#1379)
* Add ns-viewer command to run only viewer with model in eval mode

* Remove profiler and logger

* Fix ns-viewer

* ns-viewer remove writer.setup_local_writer

* ns-viewer add writer.setup_local_writer

* ns-viewer: update docs

* Delete outputs
2023-02-09 17:31:16 -08:00
Matthew Tancik df784e96e7 Colmap docs note (#1380) 2023-02-08 11:23:34 -08:00
Jonáš Kulhánek 59f71eda0e Allow methods configs to be discovered from external packages. (#1357)
* Allow method_config to be registered from external packages

* Add license

* Add MethodSpecification class + fix linter errors

---------
2023-02-06 13:25:33 -08:00
9966c43811 [Fix] Docker not supporting older CUDA architectures (#1328)
Fix docker not supporting older CUDA architectures.

Co-authored-by: Nicolas Zunhammer <n.zunhammer@tum.de>
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-02-01 21:02:10 +01:00
machenmusikandChen, Michael f5f424095a Document localhost URL (fixes #1323) (#1324)
Document localhost URL

Co-authored-by: Chen, Michael <Michael_Chen@cable.comcast.com>
2023-01-31 22:27:05 -05:00
cvachha 9eb880aa91 Blender addon script and documentation (#1218)
* Blender addon script and documentation

First version of blender addon python script located in scripts/blender and new documentation for the addon. The Blender addon is for importing or exporting a camera path for visual effects and compositing.

* Updated formatting of Blender script

Updated the formatting based on the script tests for the blender addon script.

* Updated Blender addon to fix FOV and alignment

Updated how FOV is calculated for both blender cam to json and json to blender cam. The FOV is calculated based on the aspect ratio, angle of view, and sensor fit and size.

* Updated Blender addon documentation with examples

Updated the Blender add-on documentation with a few example gif composite animations

* Updated Blender addon to match frame rate and fixed formatting

Updated the Blender add-on script and docs to match the Blender frame rate. Also the formatting should be fixed. There are also now error message popups instead of console prints for invalid input in the add-on.

* Updated the blender addon for formatting

Updated pylint formatting and comments
2023-01-19 22:31:07 -08:00
Matthew Tancik ea45c15e01 Update transform.json docs (#1246)
Update transoform.json docs
2023-01-17 10:53:22 -08:00
Mason McGough 92636c3434 Docs fix (#1244)
* Add the following fixes to documentation:

* Fix trailing backslash in “Use docker image” section
* Replace escaped backslash with double-escaped backslash (see Sphinx issue: https://github.com/sphinx-doc/sphinx/issues/6730)
* Close backtick in `contributing.md`
* Add “run” to instructions for “Render Video”
* Remove unnecessary “,” in “Render Video”
* Correct “before preceding” to “before proceeding”
* Correct “viewpoinrts” to “viewpoints”
* Add missing “.” in “Process data”
* Specify “bash” for code blocks (for consistency with other blocks in the page)
* Fix code block in `viewer_quickstart.rst` (”Copy to clipboard” widget now works)
* Fix some code formatting issues in `export_geometry.md`

* Correct "harmoincs" to "harmonics" in docs.
2023-01-17 09:28:20 -08:00
matsurenandMatthew Tancik 408ab709ec Fix typo (#1231)
* Fix typo COLAMP->COLMAP

* Fix more typo

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-01-16 12:12:55 -08:00
Matthew Tancik 53c23ba356 Add mask conventions to docs (#1234) 2023-01-16 12:00:44 -08:00
86d8118b6d fix notebook, box drawing (#1202)
* fix notebook

* samples

* run all cells

* box center

* try saving again

* import order

* cube with different sides

* black

* black

* update metadata

* fix test

Co-authored-by: Katrin Schmid <kabischmid@gmail.com>
Co-authored-by: Matt Tancik <tancik@berkeley.edu>
2023-01-06 20:22:55 -08:00
Michal Pandy 3da877050d Depth supervision for Nerfacto (#1173)
* Implement depth supervision

* Fixes

* Change normalize dtype

* refactor

* Change depth weight

* Small refactor

* Change docstring

* Removu unused import

* Add assumption to depth comment

* Implement URF loss

* Remove default depth loss type param

* URF fixes

* Fix depth loss scale

* Visualize gt depths

* Fixes & documentation

* Documentation and formatting

* Fix formatting problems

* Fix linter problems

* Fix tests

* Fix tests
2023-01-02 10:13:38 +01:00
Jake Austin 3ffee522e0 TrainerConfig inherit from InstantiateConfig (#1175)
Making TrainerConfig an InstantiateConfig so it can be swapped in and out with different methods. Also made the TrainerConfig a subclass of ExperimentConfig (which was changed from a printableconfig to an instantiateconfig), since we were already instantiating the Trainer class with the ExperimentConfig

Removed the "config" field from the TrainerCallbackAttributes struct to eliminate circular dependencies when types are checked.

Minor scripts and docs changes to accommodate the update to the config struct, meaning the flags that were associated with the TrainerConfig were moved up to the top level of the config.
2022-12-27 18:19:34 -10:00
Nicolas ZunhammerandNicolas Zunhammer 4a513825c4 [Fix] point cloud export broken in Dockerfile (#1148)
* Added Dockerfile to build docker image including all dependencies and nerfstudio, added description on how to user docker.

* Move docker description to Installation.md.

* Fix mask_filename indices after splitting train set.

* Rebase DOckerfile to newer image for updated libraries.

* Update docker container documentation.

Co-authored-by: Nicolas Zunhammer <n.zunhammer@tum.de>
2022-12-20 09:02:31 -08:00