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

1778 Commits

Author SHA1 Message Date
akanazawa
40f5c51679
Update README.md to include CLI update 2023-12-20 16:42:42 -08:00
Hardik Dava
4a54763323
fixed color issue in ply file (#2693)
fixed color export
2023-12-19 09:20:17 -08:00
Zhuoyang Pan
f7a49563a0
Fix a bug of random quaternions (#2687)
fix a bug for random quaternions
2023-12-18 17:52:14 -08:00
Otto Seiskari
626441e15e
Add instructions for data collection and processing with Spectacular AI tools (#2668)
* Add instructions for using Spectacular AI tools

Adds easy support for new device types: OAK-D, RealSense and
Azure Kinect, as well as an alternative pipeline for iOS.

* Grammar fixes in docs/quickstart/custom_dataset.md (Spectacular AI section)

Co-authored-by: Matias Turkulainen <30566358+maturk@users.noreply.github.com>

* Fix section label in the Spectacular AI section of custom_dataset.md

* Update custom_dataset.md: typo fix.

"montions" -> "motions"

---------

Co-authored-by: Matias Turkulainen <30566358+maturk@users.noreply.github.com>
2023-12-15 18:37:27 +02:00
Justin Kerr
ddedb920dc
Gaussian splatting (#2521)
* Adds Gaussian Splatting integration
---------

Co-authored-by: Jake Austin jake-austin@berkeley.edu <jake-austin@berkeley.edu>
Co-authored-by: Brent Yi <yibrenth@gmail.com>
Co-authored-by: Zhuoyang <zhuoyangpan@outlook.com>
Co-authored-by: Vickie Ye <vye1116@gmail.com>
Co-authored-by: adamrashid96 <abrashid@berkeley.edu>
Co-authored-by: Paul Wais <paulwais@gmail.com>
Co-authored-by: Gina Wu <ginawu98@gmail.com>
Co-authored-by: Alexander Kristoffersen <akristoffersen@berkeley.edu>
Co-authored-by: machenmusik <machenmusik@users.noreply.github.com>
Co-authored-by: Riley <cardiacmangoes@gmail.com>
Co-authored-by: Gina Wu <42229107+ginazhouhuiwu@users.noreply.github.com>
Co-authored-by: maturk <matiasturkulainen@gmail.com>
Co-authored-by: Guangyun-Xu <38279883+Guangyun-Xu@users.noreply.github.com>
Co-authored-by: Zhuoyang Pan <102644383+Zhuoyang-Pan@users.noreply.github.com>
2023-12-14 22:14:09 -08:00
Rohan Mathur
88873ef3ab
Added support for .tif and .tiff files in equirect utils (#2613)
* added tiff to equirect utils

* added tif files
2023-12-15 01:22:20 +00:00
Tobias Fischer
622e26b511
[Fix] Pixel Sampler setup in VanillaDataManager for Cameras incl. metadata (#2678)
fix pixel sampler setup for cameras with metadata other than fisheye crop radius

Co-authored-by: Matias Turkulainen <30566358+maturk@users.noreply.github.com>
2023-12-14 10:07:41 -08:00
Boris Feld
a894c6d938
Update first_nerf.md (#2677)
Update documentation to mention that Comet visualizer can be used without the viwer
2023-12-14 08:47:51 -08:00
Justin Kerr
17f785758b
Parity of layout between viewer beta and legacy viewer (#2639)
* alter layout of beta viewer to match old viewer

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-12-13 11:17:36 -08:00
Brent Yi
ae00061cf5
Fix custom data links in README (#2671) 2023-12-12 22:31:12 +00:00
Chris Sweeney
6ccbc2de45
Add support for Project Aria datasets. (#2617)
* Add support for Project Aria datasets.

1) An export script for processing Project Aria datasets
2) Add support for Fisheye624 cameras
3) Add support for center-crop masking and sampling

Example commands for running nerfstudio on Project Aria data:

python scripts/datasets/process_project_aria.py --vrs_file=<path_to_vrs> --mps_data_dir=<path to MPS directory> --output_dir=<nerfstudio_data_dir>

ns-train nerfacto --data <nerfstudio_data_dir>  nerfstudio-data --orientation-method none

* Clean up type errors

* Fix formatting

* Fix linter errors, import, and use absolute file paths

* Add aria subcommand to ns-process-data

* Appease ruff

* Add Aria to docs

* Fix docs, add back import try/except

* nit: path.as_posix() -> str(path)

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-12-12 22:18:13 +00:00
Brent Yi
01d57b90dc
Fix large dataset (> 512 images) training in viewer_beta (#2669)
* Fix large dataset (> 512 images) training in viewer_beta (#2586)

* fix index bug in update_camera_poses of viewer

* Set Ruff line lenth

---------

Co-authored-by: Gina Wu <42229107+ginazhouhuiwu@users.noreply.github.com>
2023-12-12 11:44:26 +00:00
Mohit Motwani
281f81f1ec
Update cameras.py - removed duplicate lines (#2661)
The self.times was being computed twice in cameras.py in the same function which was unnecessary
2023-12-12 11:13:50 +00:00
Brent Yi
73fc3dcd63
Update dependencies for M1 Macs (#2665)
* Update dependencies for M1 Macs

* import newrawpy as rawpy

* Comment

* Add back rawpy for Linux

* Run black
2023-12-11 18:08:17 +00:00
Paul Wais
390b63373d
Trainer can now always save dataparser transform (#2653)
* Trainer can now always save dataparser transform

* appease the linter

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-12-11 13:55:36 +00:00
Alexandru Kis
1d9cc7dd8a
Update hloc and add new matcher types (#2658)
* Update hloc and add new matcher types

* Update dockerfile comment to better reflect what the command is doing

---------

Co-authored-by: mfischer <michael.fischer@spleenlab.ai>
2023-12-08 08:58:51 -08:00
omahs
4c966b9bd4
Fix typos (#2655)
* fix typo

* fix typo

* fix typos

* fix typo
2023-12-08 11:27:05 +00:00
AdamRashid96
64f0b2547b
Ns-process-data bug with dev version of colmap (#2651)
* only parse digit and decimal

* formatting
2023-12-06 22:56:39 -08:00
Ethan Weber
4c627edbac
Encoder + MLP combo (#2063)
* adding encoder + mlp combo

* update documentation

* minor fixes

* fixed issue when tcnn isn't installed

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-12-01 03:16:42 +00:00
Panteleris Paschalis
0cb410001b
Fixes bug in PairPixelSampler when working with masked dataset (#2368)
* Fixes bug in PairPixelSampler when working with masked dataset

* Formatting

* Black formatting now ok.

---------

Co-authored-by: AdamRashid96 <71362382+AdamRashid96@users.noreply.github.com>
Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-12-01 01:11:11 +00:00
Jose
49503c2175
Mps fix (#2436)
* mps bugfix

* removed docs change

* Double quotes

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-12-01 00:04:01 +00:00
Jaggz H
43a7da36a5
Converted many @dataclass assignments for python 3.11 compatibility (#2630)
Converted many @dataclass assignments to field()s for python 3.11 compatibility
2023-11-30 23:51:36 +00:00
blacksino
747dd557f6
fix include_input for NeRFEncoding (#2642) 2023-11-30 23:07:26 +00:00
David Holtz
3d8af87290
Make nuScenes dataparser compatible with ParallelDataManager (#2635)
The ParallelDataManager (see #2092) makes pytorch crash if the cameras instance's fx, fy, cx or cy tensors
are loaded from a common shared tensor.

This PR fixes the issue by cloning the respective tensors before passing them to the Cameras(...) constructor.
2023-11-30 15:00:31 -08:00
Yosshi999
5a772b177d
Bugfix: shape confusion in resizing (#2565)
Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-11-30 05:57:43 +00:00
Justin Kerr
8b85c44b27
Patch spiral rendering w/ parallel datamanager (#2637)
* fix jittering in markdown in viewer beta

* Revert "fix jittering in markdown in viewer beta"

This reverts commit 70ade42e46.

* print correctly formatted url in banner for viewer beta

* allow parallel datamanager in spiral rendering

* lint

* Update render.py

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-11-30 03:42:42 +00:00
Brent Yi
c8c55521e8
Keyframe timing for beta viewer (#2638)
* Add keyframe timing to beta viewer

* Nits

* New keyframe timing logic

* Bump viser version
2023-11-30 00:52:37 +00:00
Chung Min Kim
5865ecf323
Integrate scene click capability from original viewer (#2509)
* Integrate scene click capability from original viewer

* filter non-click ScenePointerEvents from ClickEvent

* lint

* Put click origin+direction in nerfstudio world scale

* Update docs

* Update doc heading

---------

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2023-11-29 14:48:58 -08:00
Jonáš Kulhánek
38726da219
Fix tangential camera distortion (p1,p2 in opencv camera) (#2627) 2023-11-29 19:48:41 +00:00
Chung Min Kim
c896ee4e0a
Remove PCA colormap bug for float output maps (#2620)
Previously, "PCA" would be offered as a colormap option for float outputs (and throws "PCA is not a known colormap" error).
2023-11-26 22:11:05 -08:00
Chung Min Kim
43703fa05a
Bugfix; scrape pipeline for viewercontrol, not trainer (#2621)
Scrape pipeline for viewercontrol, not trainer
2023-11-26 21:56:49 -08:00
Rohan Mathur
9528a3f717
Added UI to load camera path from existing path for the dataset (#2530)
* added load camera path

* bugfixes

* fixed fov value in load camera path

---------

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2023-11-16 04:09:48 +00:00
emma
be37bcddea
Remove an outdated comment in RayGenerator class (#2606)
clean up comment
2023-11-14 08:21:03 +00:00
Chris Heinrich
b8736f704f
Update LICENSE (#2597)
Filling in the license to what I think it should be. We're adding this to our list of third party libraries
2023-11-14 08:14:17 +00:00
Brent Yi
1f5f0c792b
Make spherical harmonics test more forgiving (#2607) 2023-11-14 00:00:21 -08:00
AdamRashid96
5f5562b191
Render nearest training view (#2384)
* render nearest camera to render view

* added lpips

* added the rotation distance and the depth check for the cameras

* render nearest training img

* formatting

* add flag for occlusions

* remove commented import

* remove comments

* fix pyright test

* remove None

* add assert

* fix pyright tests

* format

* made it a flag render-nearest-camera

* added default cams and dataset for tests

* maintain resolution of training images
2023-11-13 10:23:05 -08:00
Yudong Jin
f911fe7a0c
Fix HTML render of README.md (#2599) 2023-11-11 08:05:06 -08:00
Gina Wu
1f6fb8337c
Remove compile line in camera_utils (#2584)
temporarily remove torch.compile in camera_utils
2023-11-05 10:21:16 -08:00
Jonáš Kulhánek
85677d310f
Fix torch.compile for torch 2.1 (#2577) 2023-11-02 09:28:11 +01:00
Justin Kerr
55616e1299
Print beta URL in banner correctly (#2569)
---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-10-31 12:54:00 -07:00
Maxim Bonnaerens
793fca55e6
Make resetting the near_plane in NearFarCollider optional. (#2465)
* Make resetting the near_plane in NearFarCollider optional.

It is not always desired to reset the near plane to 0.0 during inference.
Added an optional flag.

* no need to change precision

* Update scene_colliders.py

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-10-27 13:55:39 -07:00
Ethan Weber
87773bb081
Expose camera frustums size and occlusions to CLI (#2556)
CLI expose for camera frustums
2023-10-26 16:56:58 -07:00
フラハティ 仁
e4a0050d0d
Add gradient scaling option to more methods (#2555)
add gradient scaling to instant-ngp, mipnerf, tensorf, vanilla-nerf
2023-10-26 15:15:58 -07:00
machenmusik
8a44e46179
ns-process-data images fix: multinerf uses equals sign (#2558)
multinerf uses equals sign
2023-10-25 16:08:16 -07:00
Cyrus Vachha
dff216d4b8
Few viewer changes (#2553)
* Viewer changes for render panel for fps and resolution

Small changes for the new viewer including changing the FPS slider to a text entry and fixing the incorrect resolution text box description.

* Check if render_time is nonzero in render state machine

Added a check if render_time is non zero in the render_state_machine file in the new viewer due to a divide by zero error occasionally causing the viewer to stop running. I noticed this usually happened when using nerfacto-huge.
2023-10-23 01:05:19 -07:00
machenmusik
e8cee3fdad
make refine intrinsics during ns-process-data optional (#2550)
ns-process-data will still refine intrinsics by default for compatibility.

Specify --no-refine-intrinsics to turn off.
2023-10-20 21:08:51 -07:00
Daniel Crispell
f362eae608
Move only per-chunk data to the GPU to support rendering large images (#2481)
* Move only per-chunk data to the GPU to support large images

* make type checking happy

* Use isinstance check

torch.is_tensor() doesn't have a TypeGuard annotation

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-10-20 19:41:19 -07:00
Justin Kerr
bf32fc1e69
static imgs never rendered in multiclient (#2551)
* fix jittering in markdown in viewer beta

* Revert "fix jittering in markdown in viewer beta"

This reverts commit 70ade42e46.

* static rendering never triggered
2023-10-20 21:45:54 +00:00
Tobit Flatscher
23cc960bfc
Fix pixel-perfect-sfm installation in Dockerfile (#2549)
fix: Fix pixel-perfect-sfm installation in Dockerfile
2023-10-20 18:42:42 +00:00
YangXiuyu
9e7144620b
Missing a space in base_datamanager.py (#2546)
Update base_datamanager.py
2023-10-20 08:07:12 -07:00