4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 02:24:38 +08:00
Commit Graph

202 Commits

Author SHA1 Message Date
Gina Wu
b4a35190ba Merge branch 'main' into cmk/ns_add_plotly 2024-06-21 19:05:27 -07:00
Brent Yi
9b3cbc79bf
Bump to 1.1.3 2024-06-18 00:59:14 +09:00
Brent Yi
012a47d8b0
1.1.2 2024-06-08 17:38:55 -07:00
Brent Yi
d92d76b953 Bump version to 1.1.1 2024-06-08 14:05:21 -07:00
Ruilong Li(李瑞龙)
b6d0ca00dd
Update splatfacto with gsplat 1.0 (#3200)
Co-authored-by: Ruilong Li <397653553@qq.com>
Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2024-06-08 11:40:06 -07:00
Paul Wais
959fda2e25
Pin gsplat <v1.0.0 temp (#3197)
ignore gsplat 1.0 for now
2024-06-08 12:12:32 +03:00
J.Y
883d64996b
Introduce FPSampler for train cameras (#3177)
* Introduce FPSampler for train cameras

* improve document and log

---------

Co-authored-by: Jianbo Ye <jianboye@amazon.com>
2024-06-06 17:34:59 +00:00
J.Y
e2a9793ba4
bump version to 1.1.0 (#3143) 2024-05-13 10:58:49 -07:00
Chung Min Kim
4d6cf66a63 Bump viser version 2024-05-09 13:31:37 -07:00
J.Y
b190874ef1
Use AbsGrad to get better results with less gaussians (#3113)
* Use AbsGrad to get better results with less gaussians

* some adjustment such that splatfacto-big don't go OOM

* use new gsplat version

---------

Co-authored-by: Jianbo Ye <jianboye@amazon.com>
Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2024-04-29 16:32:48 -04:00
Chung Min Kim
c572eb7f19
Refactor ScenePointerCallbacks for viser compatibility (#3036)
* Update to match viser pr

* Bump viser version

* `done` => `removed` in docs

* Update viewer_elements.py

* Fix

* Point function signature overload

* Update viewer_control.md

* type ignore on callback

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2024-04-02 23:42:15 -07:00
J.Y
5fbb4b0af8
bump version to 1.0.3 (#3035) 2024-04-02 13:42:39 -07:00
J.Y
a990721fa8
Fix core tests with Pillow>=10.3.0 (#3034) 2024-04-02 09:30:14 -07:00
Otto Seiskari
05ce76db99
Get rid of redundant projection matrix computations in Splatfacto (needs a gsplat update) (#3019)
Get rid of projection matrix in ProjectGaussians with gsplat >= 0.1.9
2024-03-28 19:03:53 +00:00
Chung Min Kim
71de07163a
Support rectangle selection in viewer (#3014)
* Support rectangle selection in viewer

* Update doc for click screen_pos

* Raise callback override warning from nerfstudio

* Bump viser version, rect-select only in >0.1.26
2024-03-25 19:48:49 +00:00
Matthew Hoffman
712e1827ed
Upgrade to latest nbformat 5.9.2 (#2964)
open3d 0.18.0 depends on nbformat>=5.7.0
2024-03-18 17:59:30 +00:00
Justin Kerr
c4b030b816
1.0.2 (#2943) 2024-02-22 12:57:56 -08:00
Justin Kerr
36c48c7177
Update project, rasterize with block_width interface (#2937)
* new interface for block width in gsplat
2024-02-20 22:09:55 +00:00
J.Y
eb9bcb577d
Implement new rasterization mode using opacity compensation factor (#2888)
Implement new rasterization mode for tiny gaussians
2024-02-13 11:43:04 -08:00
Matthew Tancik
ffe3c31c13
v1.0.1 (#2865) 2024-02-01 17:00:02 -08:00
Brent Yi
6436742c34
Upper-bound torch version for dev installs only (#2864) 2024-02-02 00:19:54 +00:00
Simon Bethke
10c6f29451
Changed torch version to <2.2 (#2861)
* Changed torch version to <=2.2, as <=2.1 will uninstall torch 2.1.2+cu118 and leave users without cuda in torch

* changed <=2.2 to <2.2 to prevent the issue at to prevent the type error referenced here https://github.com/nerfstudio-project/nerfstudio/pull/2857

* Changed torch version to <=2.2, as <=2.1 will uninstall torch 2.1.2+cu118 and leave users without cuda in torch
2024-02-01 11:06:17 +00:00
Justin Kerr
17748a8309
limit torch to <=2.1 to avoid type errors (#2857) 2024-01-31 19:34:00 +00:00
Justin Kerr
f2f4bf55b2
Add alpha rendering to splatfacto, fix depth bug (#2824)
* Add alpha rendering to splatfacto, output as accumulation
2024-01-25 12:51:16 -08:00
Chung Min Kim
3db08019db
Use packaging for colmap version (#2814)
* Use packaging.version for colmap version

* Run ruff

* Change default_version to str type
2024-01-24 16:02:05 -08:00
Brent Yi
19a21d7773
Bump version to 1.0.0 (#2799)
Update pyproject.toml
2024-01-19 18:15:02 -08:00
VasuAgrawal
248e99e7f4
Add preliminary EyefulTower dataset support (#2672)
* Add ability to download EyefulTower dataset

* wip before I copy linning's stuff in

* Generate per-resolution cameras.xml

* Generate transforms.json at download

* Fix a couple of quotes

* Use official EyefulTower splits for train and val

* Disable projectaria-tools on windows

* Fix extra imports

* Add a new nerfacto method tund for EyefulTower

* Split eyefultower download into a separate file

* Add some fisheye support for eyeful data

* Reformatted imports to not be dumb

* Apparently this file was missed when formatting originally

* Added 1k resolution scenes

* revert method_configs.py to original values

* Also add 1k exrs

* Address feedback

* Revert changes to pyproject.toml, to be added in a later PR

* Oops, probably shouldn't have gotten rid of awscli ...

* changed glob variable name

* Update tensor_dataclass.py

---------

Co-authored-by: Ethan Weber <ethanweber@berkeley.edu>
Co-authored-by: Brent Yi <yibrenth@gmail.com>
2024-01-20 00:22:49 +00:00
VasuAgrawal
25d723c08b
Disable projectaria tools on Windows (#2794)
* Update pyproject.toml to work for windows again

* Actually pycolmap works now
2024-01-19 15:04:33 -08:00
Brent Yi
46847ab56b
Bump tyro (#2792) 2024-01-18 20:19:28 -08:00
Justin Kerr
b76a24093d
Migrate to python functions for gsplat (#2778)
* switch to pythonic interface for gsplat
2024-01-18 10:35:45 -08:00
Brent Yi
368c9ecd12
Bump viser (#2779) 2024-01-17 15:35:08 -08:00
Brent Yi
05d305467f
Reduce startup overhead (#2763)
* Reduce import overhead

* Bump tyro, suppress deprecated config values

* Bump viser

* Fix pyright
2024-01-17 01:42:10 +00:00
Too Yuen Min
e00da7de31
Update dependencies for aarch64 (#2750)
remove pymeshlab for aarch64

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2024-01-17 00:39:35 +00:00
Matthew Hoffman
32939e0d41
Remove deprecated dependency_links config (#2753)
* Move dependency_links to setup.cfg

[options] is not a valid table in pyproject.toml, but it is in setup.cfg: https://setuptools.pypa.io/en/latest/deprecated/dependency_links.html

* Remove setup.cfg

https://github.com/nerfstudio-project/nerfstudio/pull/2753#issuecomment-1893217202
2024-01-16 01:29:07 -08:00
Matthew Hoffman
f0aadf9de8
Use ruff as linter and formatter (#2765)
* Switch from black to ruff format

* Sort dependencies with ruff check

* Run ruff format
2024-01-15 13:43:14 -08:00
Matthew Hoffman
114c5f7aa5
Fix apple silicon install 3.10+ (#2752)
* Fix install on darwin arm64 Python 3.10+

* Fix darwin arm64 3.11+ install
2024-01-12 12:59:04 -08:00
liorfritz
3ec10f8ea7
Undistortion should not occur for already-undistorted images (#2726)
* undistortion should not occur if pinhole (smoothes the images), and accordingly fix rounding of downscaled image size

* rounding downscaling, more consistent with other resizing methods in public datasets

* reverting to cpu image caching

* re-allow camera unimplemented

* compatibility with mask/depth

* reverted scale factor rounding, corrected mask undistort condition

* moved distortion_params update inside PERSPECTIVE type if-clause

* bumping opencv to 4.8, to deal with undistortion bug with distortion parameters of zero

---------

Co-authored-by: liorf <liorf@amazon.com>
Co-authored-by: alshan <alshan@amazon.com>
Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2024-01-10 12:44:57 -08:00
Ruilong Li(李瑞龙)
98a21263c1
Fix periodically stuck in parallel datamanager (#2713)
* Fix sticking in parallel datamanager
2024-01-05 15:21:50 -08:00
Brent Yi
7a8e31d84e
Improved render panel for beta viewer (#2667)
* Continuous velocities for render splines

* Configure ruff line length

* Improved render preview

* No longer need to update camera FOV in render preview

* Details

* Polishing

* Cleanup

* Details

* Address pyright errors

* type: ignore for broken (?) Aria stub
2023-12-20 17:20:41 -08: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
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
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
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
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
Brent Yi
042c7d1465
Bump tyro to 0.5.7 (#2393)
* Bump `tyro`

* tyro 0.5.7
2023-10-16 06:26:42 +00:00
Brent Yi
d3934737a1
Upgrade pyright (#2526)
* Upgrade pyright

* Resolve pyright errors

* Suppress trimesh error

* Run ruff
2023-10-14 13:00:17 +08:00
Justin Kerr
8e2a0651d0
Fix jitter viewer (#2505) 2023-10-10 17:49:52 -07:00
Matthew Tancik
c87ebe34ba
v0.3.4 (#2452) 2023-09-21 18:38:22 -07:00
Brent Yi
3e1d4af821
Add share link support for beta viewer (#2445)
* Add share link support for beta viewer

* More consistent CLI experience

* fix viewer jitter by adding atomic update on camera pose

* change to make_share_url

* fix

* remove incorrect assert

---------

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2023-09-19 16:22:55 -07:00