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

1843 Commits

Author SHA1 Message Date
Ethan Weber
cdd1d1507e changed glob variable name 2024-01-19 19:51:54 +00:00
Ethan Weber
a7915915a8 merged main 2024-01-19 19:44:34 +00:00
Brent Yi
6389cacd19
Gaussian splatting support for Aria (#2785)
* Gaussian splatting support for Aria

* Respect masks in splatting loss function
2024-01-19 11:09:37 -08:00
Brent Yi
c27b5cb65f
Use github output format for ruff in CI (#2786)
* Use github output format for ruff in CI

* Fix

---------

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2024-01-19 09:29:50 +00:00
Brent Yi
99073eb187
Don't throw away non-tensor objects in TensorDataclass (#2783)
* Don't throw away non-tensor objects in TensorDataclass

* Update test_tensor_dataclass.py

---------

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2024-01-19 01:18:19 -08:00
Brent Yi
f55bd04ca6 Hotfix non-colmap nerfstudio datasets 2024-01-19 00:39:53 -08:00
Riley
288e1496f1
Switching the gaussian-splatting dataparser from ColmapDataParser to NerfStudioDataparser and updating ns-process-data (#2791)
* ns-process-data updated to output a .ply of sparse points from colmap

* docs for loading 3D points

* format fixing

* ruff formatting

* added read_points3D_text

* formatting

* added 3D points to test

* prompted user bool fix

* small fixes to pass test cases

* fix colors

* fixed coord system

* Tweak frames

* Comment wording

* ruff

* Comment intentional default change for load_3D_points

* Wording

* More wording

* Fix double/float issue

---------

Co-authored-by: Ethan Weber <ethanweber@berkeley.edu>
Co-authored-by: Brent Yi <yibrenth@gmail.com>
2024-01-19 08:00:45 +00:00
J.Y
25a00a09ab
Revisiting #1504 and fix colmap world coordinate transform (#2793)
fix colmap world coordinate transform
2024-01-19 05:08:19 +00:00
Vasu Agrawal
d1abe18e66 Oops, probably shouldn't have gotten rid of awscli ... 2024-01-18 23:53:47 -05:00
Vasu Agrawal
59333c9bdb Merge branch 'main' of https://github.com/nerfstudio-project/nerfstudio into convert-cameras-json 2024-01-18 23:45:42 -05:00
Vasu Agrawal
544cb81dd2 Revert changes to pyproject.toml, to be added in a later PR 2024-01-18 23:45:29 -05:00
Vasu Agrawal
44581bf75e Address feedback 2024-01-18 23:44:44 -05:00
Brent Yi
46847ab56b
Bump tyro (#2792) 2024-01-18 20:19:28 -08:00
Justin Kerr
402d4fdd1e
Remove unsupported camera optimization from GS (#2790)
* 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

* remove cam opt from gs
2024-01-18 22:51:04 +00:00
J.Y
da57d3f5ba
MAX_AUTO_RESOLUTION is ensured in auto downscale (#2788)
Co-authored-by: Jianbo Ye <jianboye@amazon.com>
2024-01-18 14:15:05 -08:00
Vasu Agrawal
e24ffe0718 Also add 1k exrs 2024-01-18 15:59:00 -05:00
AdamRashid96
a8d5dc9ae9
Updates to docs for gaussian splatting (#2782)
* additions to docs

---------

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2024-01-18 11:17:54 -08:00
J.Y
6f2b87e8c2
Add option of caching image in bytes rather than float32 (#2741)
Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2024-01-18 11:03:11 -08:00
Vasu Agrawal
71266942dd revert method_configs.py to original values 2024-01-18 13:55:17 -05:00
Vasu Agrawal
bf6d7b74cb Added 1k resolution scenes 2024-01-18 13:51:18 -05: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
anc2001
a78ca29470
Speed up mask sampling with rejection sampling (#2585)
* change masked pixel sampling to use rejection sampling instead of torch.nonzero

* black reformat code

* pyright unbound variable num_valid

* pyright type issues with num_valid

* add configuration settings for rejection sampling masks

* black reformat

* maybe this fixes it?

* revert behavior if mask sampling failed, still raise warning

* on iteration failure, use non-rejection sampling to generate indices

* ruff

---------

Co-authored-by: adrian_chang <adrian.chang@visionsystemsinc.com>
Co-authored-by: Alexander Kristoffersen <akristoffersen@berkeley.edu>
2024-01-18 18:21:44 +00:00
Cyrus Vachha
15e81d37dc
Update documentation for 3DGS (#2780)
Adding 3rd party viewers for splats and other edits to gs documentation.
2024-01-18 09:51:15 -08:00
Brent Yi
368c9ecd12
Bump viser (#2779) 2024-01-17 15:35:08 -08:00
Justin Kerr
7d0ab6aca8
Docs for gaussian splatting (#2776)
* fill in doc page for GS
2024-01-17 19:44:29 +00:00
Matias Turkulainen
a6a3dedc0e
camtoworld is already a tensor in sdfstudio_data (#2777)
camtoworld is already a tensor
2024-01-17 11:22:34 -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
Brent Yi
609dc3ea5e
Remove unused make_share_url arg in ns-viewer (#2749)
* Remove unused make_share_url arg in ns-viewer

* Update docstring

* Ruff

---------

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2024-01-17 00:08:18 +00:00
Vasu Agrawal
82d4f5ec67 Apparently this file was missed when formatting originally 2024-01-16 18:18:51 -05:00
Vasu Agrawal
6998760c75 Reformatted imports to not be dumb 2024-01-16 17:50:26 -05:00
Vasu Agrawal
ac5200af82 Add some fisheye support for eyeful data 2024-01-16 17:23:43 -05:00
Vasu Agrawal
88c644adcf Merge branch 'main' of https://github.com/nerfstudio-project/nerfstudio into convert-cameras-json 2024-01-16 10:57:18 -05: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
Cyrus Vachha
3e2271a656
Setting save_world_frame as False by default and Splat export panel in viewer (#2700)
* Setting save_world_frame as False by default

Setting save_world_frame as False by default for the exporter as well as in the viewer, since it is exports the point cloud in a different coordinate system from the Blender add-on and there is not a similar checkbox in the original viewer, so by default the exported point cloud would not be compatible. This flag can still be set true in the cmd command and in the new viewer

Also updating the blender docs to mention support for gs scenes

* Adding splat export panel in viewer

Adding the splat option in the export panel which returns a basic splat export cmd. Also renaming the splat exports as splat.ply instead of point_cloud.ply

* Showing export panels based on method

If gaussian splatting is running, then the crop box, mesh, and point cloud exports are hidden/disabled. Else, all but splat export is visible.

* Fix pyright type check

* Changing viewer model argument for export panels

* Update export_panel.py

* Update export_panel.py

* Update export_panel.py

* Update exporter.py

* Update exporter.py

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2024-01-15 22:04:22 +00: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
Brent Yi
69ed6d4093
Improve viewer banner when server is bound to 0.0.0.0 (#2761)
* Improve viewer banner when server is bound to 0.0.0.0

* Add comment

* Update viewer.py
2024-01-13 20:31:39 +00:00
SiN
44dafa3a4e
Add --no-cache-dir option to pip install in Dockerfile (#2739) 2024-01-13 06:24:27 +00: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
Vasu Agrawal
8fb0a8b65e Split eyefultower download into a separate file 2024-01-12 15:50:16 -05:00
Brent Yi
55b7a2c8ef
Update docs to recommend torch 2.1 (#2748) 2024-01-11 15:12:41 -08:00
Vasu Agrawal
5393ee4865 Add a new nerfacto method tund for EyefulTower 2024-01-11 16:14:59 -05:00
Vasu Agrawal
0e7d29e78a Fix extra imports 2024-01-11 15:37:20 -05:00
Vasu Agrawal
25b6d58f28 Disable projectaria-tools on windows 2024-01-11 14:21:04 -05:00
Vasu Agrawal
688c39b750 Use official EyefulTower splits for train and val 2024-01-11 14:21:04 -05:00
Vasu Agrawal
59e1cf67e6 Fix a couple of quotes 2024-01-11 14:21:04 -05:00
Vasu Agrawal
f811bd244b Generate transforms.json at download 2024-01-11 14:21:04 -05:00
Vasu Agrawal
f95b4eb997 Generate per-resolution cameras.xml 2024-01-11 14:21:04 -05:00
Vasu Agrawal
ba5ce12d4d wip before I copy linning's stuff in 2024-01-11 14:20:55 -05:00
Vasu Agrawal
2158946580 Add ability to download EyefulTower dataset 2024-01-11 14:19:57 -05:00