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

1747 Commits

Author SHA1 Message Date
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
Shiva Gantha
e206079370
minor typing error (#2545) 2023-10-19 21:58:27 -07:00
Yueh-Cheng Liu 劉岳承
f31f3bba12
Add scannetpp dataparser (#2498)
* Add scannetpp dataparser

* Fix formatting

* Remove unused import

* Add links and descriptions

* Update input file structure and remove unused code

* Reformat with black

---------

Co-authored-by: Matthew Tancik <matt@lumalabs.ai>
2023-10-19 18:19:11 +00:00
Gina Wu
968176edb8
Support multiclient in viewer_beta with separate render threads for each client (#2519)
* Initial multiclient, jittery screen bc fighting between clients

* Fix multiclient jitter with separate render threads for each client

* Handle client disconnect

* Fix viewer.init_scene and viewer_elements.get_camera for multiclient

---------

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-10-19 10:25:44 -07:00
Ahmed Shariff
3dd162aae8
Fix pillow version to avoid error with ANTIALIAS (Fix #2378) (#2446)
* Fix pillow version to avoid error with ANTIALIAS (Fix #2378)

* Revert pillow version, use fix for pillow ANTIALIAS from upstream
2023-10-17 03:05:53 +00:00
SeaOtocinclus
6cbe070949
Update data_conventions.md (#2534)
Fix typo in `distortion` word
2023-10-16 23:11:43 +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
Ji Shi
ce06935f3d
Fix datamanagers' get_rays_per_batch functions in case of using DynamicBatchPipeline (#2522) 2023-10-15 23:05:22 -07:00
Cyrus Vachha
8e58021a47
Add camera_type dropdown in new viewer (#2525)
* Add camera_type dropdown in new viewer

Added a gui dropdown menu for selecting the camera type. Currently, the render view doesn't update to preview the equirectangular or fisheye render.

* Updating the image url of nerfstudio logo images for the viewer

Changing the image urls to restore the nerfstudio logo in the viewer

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-10-14 21:46:53 -07: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
Brent Yi
d3934737a1
Upgrade pyright (#2526)
* Upgrade pyright

* Resolve pyright errors

* Suppress trimesh error

* Run ruff
2023-10-14 13:00:17 +08: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
Justin Kerr
8e2a0651d0
Fix jitter viewer (#2505) 2023-10-10 17:49:52 -07:00
Justin Kerr
dba20fcb26
minor patch for exporting pcs and meshes with parallel datamanager (#2503)
* minor patch for exporting pcs and meshes with parallel datamanager

* format
2023-10-10 17:18:16 -07:00
Justin Kerr
e694f341a7
Move camera optimization out of datamanager and parallelize dataloading (#2092) 2023-10-10 14:52:25 -07:00
Justin Kerr
1b85fb528b
patch for mkdirs on camera path json filepath (#2502)
fix camera path json mkdir in viewer beta
2023-10-10 13:09:09 -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
Ruoyu Wang
79297c7c61
(minor) Align upsampling in TensorCPEncoding with TensorVMEncoding (#2493)
* (minor) Align upsampling in TensorCPEncoding with TensorVMEncoding

* Fix black

---------

Co-authored-by: Matthew Tancik <mattt4001@gmail.com>
Co-authored-by: Matthew Tancik <matt@lumalabs.ai>
2023-10-08 21:22:53 -07:00
Matthew Tancik
d325593e02
Remove unused config param (#2495)
Remove unused config.
2023-10-09 10:35:08 +08:00
Ji Shi
242a1cf4fe
Fix DatasetRender to override dataset path only when provided (#2494) 2023-10-08 12:59:58 -07:00
Boris Feld
a484d255b4
Add support of using both Comet and Viewer at the same time (#2488) 2023-10-04 21:02:46 +02:00
Rohan Mathur
afcc8434d0
fixed link to viser to be functional link cause previous 404ed (#2486) 2023-10-03 09:20:58 +02:00
Maxim Bonnaerens
0d746b1363
Fourier Feature encodings and polyhedron encodings (#2463)
* Fourier Feature encodings and polyhedron encodings

Rework RFFEncoding to be a subclass of the more general Fourier Feature
Encodings and introduce Polyhedron encodings as introduced in
mipnerf360.

* b_matrix -> basis

* Add typing

* fighting pyright

* use scale argument

* continue the fight

* ignore

* ignore em all

* add docstring and rename generate_basis to generate_polyhedron_basis

* Try to please pyright with assert

* Immediately allocate tensor on correct device

* private functions and docstrings update

* doc fix continued

---------

Co-authored-by: Jonáš Kulhánek <jonas.kulhanek@live.com>
2023-10-02 21:07:34 +00:00
Reza Kermani
c2f5e68d54
fixing broken links in README (#2483)
fixing broken links
2023-10-02 05:31:02 +02:00
Jonáš Kulhánek
b78d0faa12
ns-render - render all images (#2459)
* ns-render - render all images

* Fix commonprefix->commonpath

* Fix raw rendering
2023-10-01 22:12:48 +02:00
pierremerriaux-leddartech
7856aa0060
fix:correction of PairPixelSampler in case of using masks with depth-nerfacto (#2477)
fix:correction of PairPixelSampler in case of using masks
2023-09-29 16:49:20 -07:00
Brent Yi
c93b374d08
Don't deploy docs from pull requests (#2482) 2023-09-29 12:33:19 -07:00
Matthew Tancik
bbe31736f3
Update README.md 2023-09-29 10:48:51 -07:00
Matthew Tancik
88d5b03a80
Remove rtd (#2478) 2023-09-28 18:15:35 -07:00
Ruilong Li(李瑞龙)
169030199e
Update doc.yml (#2479) 2023-09-28 18:14:40 -07:00
Gina Wu
593950efec
Update colmap installation instructions with conda (#2473) 2023-09-27 10:45:58 -07:00
Chung Min Kim
4cdeaa6eec
Track all viser GUI folders to avoid folder duplicates (viewer-beta) (#2466)
* Track all viser GUI folders to avoid folder duplicates

* lint

---------

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2023-09-25 13:14:51 -07:00