4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-10 18:17:31 +08:00
Commit Graph

105 Commits

Author SHA1 Message Date
SeaOtocinclus
6cbe070949
Update data_conventions.md (#2534)
Fix typo in `distortion` word
2023-10-16 23:11:43 +00:00
Cyrus Vachha
e9a3bae859
Update URLs for readme and image references (#2527)
* Update URLs for readme and image references

Update the image URLs and documentation links due to change in docs url structure. Files edited include readme, documentation, and legacy viewer files.

* Updating url in custom dataset
2023-10-13 22:23:20 -07:00
Piero Toffanin
42cabedc60
Add ODM data processor (#2517)
* Add ODM data processor

* Fix ruff warnings

* Re-format with black

* Add annotations

* Add explicit dtype

* Add explicit dtype

* Revert "Add explicit dtype"

This reverts commit 6f3cde1671.
2023-10-12 20:08:45 -07:00
Jami Pekkanen
81db1808a7
Add documentation about unknown depth pixel convention (#2490)
Updated the documentation to explicate that zero value in depth images is treated as unknown depth. This behavior is defined in a484d255b4/nerfstudio/model_components/losses.py (L242)

Co-authored-by: Matthew Tancik <matt@lumalabs.ai>
2023-10-08 21:26:10 -07:00
Gina Wu
593950efec
Update colmap installation instructions with conda (#2473) 2023-09-27 10:45:58 -07:00
Sid Mehta
7269a7ee16
Add Comet Logging (#2431)
* initial commit

* fixed naming

* added comet_ml as depedency

* added comet to docs

* Update custom_gui.md

* Update models.md

* Update benchmarking.md

* added Comet to ReadMe

* added decorator

* fixed link and added comet examples

* fixed link and added comet example

* fixed format

* fixed type ignore error

* fixed readme typo

* fixed typo
2023-09-15 09:21:09 -07:00
Mocax
aaa6c3aa1d
Fix the starting command of docker. (#2357)
To prevent abusing of root privilege, please use custom user privilege to start.

If not, sometimes the Docker images may be started with the permissions of root or other users. If you modify the mounted files in the container , it will cause permission errors or other errors.

Co-authored-by: Matthew Tancik <matt@lumalabs.ai>
2023-08-25 01:08:56 +00:00
Kate Yurkova
c599d0f3a1
fix: Allow custom user ID (#2334) 2023-08-12 20:17:38 +00:00
Kate Yurkova
5eb83e8acd
Account for num_gpus rename in docs + test configs (#2332)
* fix: num-gpus to num-devices

* fix: Update test_config1.yml

* fix: Update test_config2.yml
2023-08-12 11:09:44 +00:00
Frederik Warburg
9b03299d40
Train and eval data splits (Nerfbusters) (#2207)
* nerfbusters dataparser

* nerfbuster dataparser and visualization of eval views

* resolved some errors from  pyright

* enable ns-process-data to take two videos as input and use one for eval and the other for train

* resolve some pyright issues

* instead of data being a tuple, I added eval_data as another argument

* implemented train eval split for all cases

* implemented train eval split for all cases

* reverting equi changes

* reverting reality capture changes

* raise valueerror

* revert comment

* added split override code back to dataparser

* reverted one change

* using image border now

* adding docs

---------

Co-authored-by: Ethan Weber <eweb0124@gmail.com>
2023-08-04 10:11:55 -04:00
Brent Yi
72da747fc2
Remove system-level CUDA install from install instructions (#2289)
* Remove system-level CUDA install from Linux install instructions

* Remove system-level CUDA from Windows install instructions

* Un-flip CUDA 11.7 / 11.8
2023-08-01 22:50:22 +00:00
Brent Yi
dab39c25b4
More robust install instructions (#2277)
Add cuda-toolkit install to readme/docs
2023-08-01 20:35:22 +00:00
Cyrus Vachha
8682e481b1
Render VR180 video (#2261)
* Render VR180 video

Adding the VR180 camera model to render VR180 video and images. I condensed the omnidirectional stereo and VR180 render post processing in the render script. I have updated the documentation for VR180 support.

* Condensing formatting of camera types

Condensing the if statement for camera type intrinsics.
2023-07-24 07:26:20 -07:00
Cyrus Vachha
554dec77f2
Omnidirectional Stereo Update - Alignment and Compositing (#2217)
Update to omnidirectional stereo rendering (VR 360) to fix slight positional alignment to accurately composite with Blender objects. Modified documentation for ODS and the Blender add-on to include details on Blender camera settings to composite with the Nerfstudio ODS camera model.
2023-07-13 07:59:10 -07:00
KaerMorh
18ab50dc6b
Correct path notation for Windows in documentation (#2171)
Fixed an error in the documentation where the incorrect path notation was used for Windows systems. The documentation had paths denoted with "./", which is incorrect for Windows. This has been corrected to ".\", the appropriate notation for Windows.

This change ensures that Windows users correctly follow the instructions in the documentation without encountering any path-related issues.
2023-07-04 08:14:15 -07:00
Ilya Basharov
5c4b0a1dd6
add build-arg cuda version to dockerfile (#2139) 2023-07-01 17:06:05 +00:00
jlightfoot
f22e9f4db9
Fix quickstart doc for remote host viewing setup (#2101)
Fix remote viewing setup doc

SSH command should specific localport:remotehost:remoteport rather than localport:localhost:remoteport in -L switch.  Changed description for clarity.
2023-06-22 16:22:45 +00:00
Sebastiaan
893730fa05
installation.md: Use https instead of ssh for git clone. (#2030)
* installation.md: Use https instead of ssh for git clone.

Https git clone can be run by anyone directly, without account, whereas ssh git on Github requires having a Github account set up.

* Add .git

---------

Co-authored-by: Matthew Tancik <mattt4001@gmail.com>
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-06-04 19:23:12 -07:00
Cyrus Vachha
6993f75dc8
Render Omni-directional stereo video (360 3D VR) (#1986)
* Render Omni-directional stereo (360 3D VR)

Adding the omni-directional stereo camera model to render 3D 360 video and images for VR. This includes the camera models for the left and right eyes and additions to the render script to stack the left and right renders for the final render.
I have also updated the documentation on the custom_dataset page to have information on ODS but let me know if there is a better place to put it.

* Updated ODS camera model and render paths

Updates based on suggested code changes including adding a helper function for ODS and improving path creation.
I also added a part where if a user tries to render a video with an output path that doesn't have an extension it will automatically add .mp4 to the end. Otherwise this usually results in an error when there is no file extension when rendering a video.

* Updated formatting for render and cam path scripts

Updated python formatting for render and camera_paths script

* Adding type checking for ODS function and reformatting camera type code

Added the type checking and doc string for the ODS camera rays function and reformatted the cam_type ray if statements.
2023-05-26 18:01:13 -07:00
Matthew Tancik
a90602060b
Update installation docs (#1970)
* Update installation docs

* Update instructions

* Make tcnn consistent
2023-05-22 17:39:32 -07:00
Jonáš Kulhánek
e898f562e6
Switching to Torch 2.0 by default. (#1922)
* Update requirements for torch 2.0

* Update docs

* Fix missing _LRScheduler import

* Fix pylint issues

* Update docs, drop 1.13

* Fix pip postfix version

* fix docs

* Allow python 1.13 (for now)

* Minor fix for torch.compile

* Switch to torch.compile

* ruff

* Fix test

---------

Co-authored-by: Matt Tancik <mattt4001@gmail.com>
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-05-17 16:03:17 -07:00
J.Y
7851dfa9db
Fix bug related to distributed data parallel training (#1856)
* Fix bug related to distributed data parallel training

* fix format by black

* Add nerfacto-big multi-gpu commands

* cleaned up docs

* reverted default dataset to poster

---------

Co-authored-by: Ethan Weber <eweb0124@gmail.com>
2023-05-15 14:23:29 -07:00
Matthew Tancik
72a14b0b22
Move scripts folder into nerfstudio (#1897)
move scripts folder into nerfstudio
2023-05-09 16:44:21 -07:00
Matthew Tancik
df514b121c
Update docs for ns-viewer (#1892) 2023-05-09 10:07:11 -07:00
Brent Yi
63c6303736
Bump minimum Python version to 3.8 (#1876)
* Bump minimum Python version to 3.8

* typing_extensions.Literal -> typing.Literal

* ns-dev-test

* typing_extensions.get_args => typing.get_args

* Format with older version of black

* Bump `black`

* Run black
2023-05-06 13:29:48 -07:00
Matthew Tancik
610fe8bbd4
Update logging docs (#1863) 2023-05-03 10:00:46 -07:00
Frédéric Devernay
9a0ecb6fd7
Support equirectangular sensor with metashape (#1841)
* Document how to use equirectangular sensor with metashape

* equirectangular sensor is actually supported by nerfstudio!

* Update custom_dataset.md

* equirectangular: fix COLMAP workflow

* metashape_utils.py: black

---------

Co-authored-by: Frédéric Devernay <f-dy@users.noreply.github.com>
2023-05-01 14:44:00 -07:00
Rohan Mathur
bf3ae6ac5c
Added docs wording change and also --crop-bottom (#1767)
* added docs wording change and also --crop-bottom

* fixed linting
2023-04-20 09:58:02 -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
Rohan Mathur
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 Rendell
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
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
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
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 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 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
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
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
Nicolas Zunhammer
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
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