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

1449 Commits

Author SHA1 Message Date
Nicholas Pfaff
2dc1fb6bc9
Allow masks with instant ngp dataparser (#1741)
* Add masks to instant-ngp-dataparser

* Load entire dataset to GPU if using masks

---------

Co-authored-by: machenmusik <machenmusik@users.noreply.github.com>
2023-04-25 13:04:07 -04:00
Jonáš Kulhánek
231573bd8e
Fix profiler for PyTorch 2.0 (#1812)
* Fix profiler for torch v2.0

* Add back type for time_function
2023-04-25 18:55:44 +02:00
Matthew Tancik
d3fcca5215
Update renderer logs (#1817) 2023-04-25 09:42:22 -07:00
machenmusik
2a920e765d
Render in threejs viewer (#1794)
* remove separate RenderWindow

Bring the background image under threejs control in the ViewerWindow.

* fix typo: apsect --> aspect

* fix lint issues
2023-04-24 20:35:30 -04:00
Ruilong Li(李瑞龙)
ea2993d5b1
Update NGP related models with nerfacc 0.5.2 (#1809)
* profiling

* set pose_optimizer to None if it's mode is "off"

* radial_and_tangential_undistort in nerfacc

* fix camera distortions

* update to nerfacc 0.5.1. Upgrade instant-ngp model.

* revert nerfacc to 0.5.1

* format

* allows to fall back to the pytorch undistortion

* format

* fix linting

* fix test

* fix test

* fix nerfplayer-ngp

* enable_collider=False for NGP

* nerfplayer verified.

* zero cone_angle for ngp bounded

* fix format

* fix pylint
2023-04-24 17:11:30 -07:00
Brent Yi
c6abd3abcb
Fix folder labels type annotation (#1805) 2023-04-24 08:52:07 -07:00
Justin Kerr
c256dc2bf9
Fix element parsing (#1803)
* fix trainer element hierarchy
2023-04-23 17:42:37 -07:00
Justin Kerr
09f56ab00d
Add trainer parsing (#1801)
* Increase max_res of first proposal network

* add trainer to parsing for ViewerElements

* lint

---------

Co-authored-by: Ayaan Haque <ayaanzhaque@gmail.com>
2023-04-22 15:04:11 -07:00
Justin Kerr
d5decb61a6
Rerender order swap (#1802)
* move rerenders to end of callback in control_panel
2023-04-22 11:23:23 -07:00
machenmusik
11eea11f1e
force resolutions to newer versions for security (#1799)
force resolutions to newer versions
2023-04-21 17:35:04 -04:00
machenmusik
3addd32b36
Use current host in landing page (#1792)
Update WebSocketUrlField.jsx
2023-04-21 02:37:46 -04:00
Matthew Tancik
f84ad7352e
Automatically reconnect to server (#1790) 2023-04-20 18:41:31 -07:00
dependabot[bot]
ee50be9de5
Bump @sideway/formula from 3.0.0 to 3.0.1 in /nerfstudio/viewer/app (#1785)
Bumps [@sideway/formula](https://github.com/sideway/formula) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sideway/formula/releases)
- [Commits](https://github.com/sideway/formula/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: "@sideway/formula"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 10:24:58 -07:00
dependabot[bot]
eddcd6189e
Bump decode-uri-component from 0.2.0 to 0.2.2 in /nerfstudio/viewer/app (#1784)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 10:17:08 -07:00
dependabot[bot]
b6248d8a95
Bump webpack from 5.74.0 to 5.80.0 in /nerfstudio/viewer/app (#1783)
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.80.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.80.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 10:08:46 -07:00
ZiYangXie
efd33b5248
Improve mask generation script for nuScenes data (#1679)
* Fix bug: Improve mask generation script for nuScenes data

* Run black

---------

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
Co-authored-by: Matthew Tancik <mattt4001@gmail.com>
2023-04-20 10:08:30 -07:00
Matthew Tancik
9a61851bcf
Update lerf docs (#1782) 2023-04-20 10:06:13 -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
8d9c4005d4
Configurable ip address (#1779)
* Configurable ip address

* Rename `ip_address` => `websocket_host`

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-04-20 07:36:32 -07:00
wuzirui
817e2caabf
add individual grad_scaler config (#1762)
* add individual grad_scaler config

* reword the description

* Update trainer.py

---------

Co-authored-by: Matthew Tancik <mattt4001@gmail.com>
2023-04-19 21:12:29 -07:00
Chung Min Kim
1d92cea2e3
Add documentation for LERF (#1771)
* Initial docs for lerf

* Add memory requirements for lerf-big and lerf

* Include LERF paper dataset info, include bibtex
2023-04-19 14:40:10 -07:00
Brent Yi
63919c0db2
Docs fixes for viewer elements (#1770) 2023-04-18 19:15:29 -07:00
Matthew Tancik
6a06710f49
v0.2.1 (#1769) 2023-04-18 17:28:37 -07:00
Matthew Tancik
d71a6a315b
Update host address (#1766)
* Update host address

* Update server.py

* Update to 127.0.0.1

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-04-18 17:11:22 -07:00
Matthew Tancik
cbb0511619
Add completed training state (#1768) 2023-04-18 16:55:38 -07:00
Matthew Tancik
b7fd273638
Add time controls to viewer (#1764) 2023-04-18 15:06:03 -07:00
Jonáš Kulhánek
ea14152ae6
Add PyTorch profiler to support tracing of forward/backward calls (#1761)
* Add PyTorch profiler support

* Add support for wrapped code, fix linting errors

* Update docs
2023-04-18 20:29:09 +02:00
Matthew Tancik
37322ec453
Add typing extensions to pyproject (#1763) 2023-04-18 09:57:51 -07:00
Alexander Kristoffersen
3d2e58ed84
Colab Fix: change localhost to 0.0.0.0 (#1759)
Update viewer_state.py

change localhost -> 0.0.0.0
2023-04-18 00:03:34 -07:00
Yuantao Chen
ce733a8308
Delete useless lists of tensors put to CUDA which may cause OOM. (#1748)
eval_large_imgs
2023-04-17 23:35:34 -07:00
Matthew Tancik
e48468cfae
Update disconnected state UI (#1758) 2023-04-17 23:34:19 -07:00
Dylan Hu
797e9012fb
Fix divide by zero when train util set to 1 (#1757)
* fix divide by zero when train util set to 1

* Run black

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-04-17 23:33:54 -07:00
Brent Yi
c1c7a3b283
Fix ns-install-cli (#1754)
* Make ns-dev-sync-viser-message-defs a tyro CLI to fix ns-install-cli error

* Fix pylint
2023-04-17 17:57:04 -07:00
hturki
2f18e323cd
return unscaled input in positional encoding (#1736)
* return unscaled input in positional encoding

* Update encodings.py
2023-04-17 13:08:31 -07:00
Matthew Tancik
49835b2eab
v0.2.0 (#1751) 2023-04-17 09:10:59 -07:00
cvachha
7c4e139f2e
Adding Blender tutorial video and documentation on NeRF in NeRF composite (#1745)
* Added Blender tutorial video and documentation on NeRF in NeRF compositing

Updated Blender Add-on documentation to include a video tutorial and added documentation on compositing NeRF objects in NeRF scenes.

* Updating Blender documentation

Removing additional images and resizing images on the documentation.
2023-04-16 10:13:15 -07:00
LownyCGI
16725ae8fa
Update sdfstudio.md (#1744)
Add supported method
2023-04-15 09:16:39 -07:00
Brent Yi
2ddb2631b5
Improve viewer element types (#1743) 2023-04-15 01:14:38 -07:00
Jake Austin
db03d5792e
Metadata for cameras (#1623)
Adding metadata field to cameras explicitly, will be broadcast to rays generated
2023-04-14 20:56:25 -07:00
Matthew Tancik
a9eea19880
Update method docs (#1742)
* Update method docs

* typo
2023-04-14 15:02:45 -07:00
Brent Yi
6a7c8820b8
Viewer backend refactor (#1702)
* Copy in `viser` communication infrastructure

* Update background image

* Add build directory to fix viser HTTP server
May want to remove these later

* Copy in `viser` communication infrastructure

* Update background image

* Pass dataset vis using viser

* initial impl of ViewerParameter

* idk what i did but brent and matt know

* Suppress eslint typescript warnings

* implement ViewerElement base class, then ViewerButton, ViewerSlider, etc

* client -> server message setup

* multi folder stuff

* Stream controls over viser

* import

* add types to viewer_param.py

* Move another message to viser

* Update folder color

* Use non throttled messages

* multiple folders works

* Cleanup, more porting

* starting impl of control panel in viser

* More porting

* scenebox to viser

* Cleanup

* Fix render updates

* More cleanup, docs, typing

* start control_panel.py

* set_hidden logic but not merged in

* control_panel replicates behavior of existing control panel (visually), except for setting the list of output options. not yet integrated with viewer_utils.py for logic flow. also implemented set_disabled and set_hidden in javscript/ViewerElement side

* Remove some original leva components

* add some train util logic, attempt set_value, doesn't work on javascript side fully yet (value updates but not slider visually

* bye zmq

* missing call to decoder

* 'gui_set' works properly, control panel now replicates behavior of original

* remove print

* Fix status viewer message

* More cleanup

* support set_options in dropdown

* hiding buttons works correctly

* fix set_options, switch from cur_value to get_value()

* Fix slowdown

* output options

* colormap logic converted

* add handle to cb_hook

* fix some lambda bugs

* cleanup

* Save checkpoint logic readded

* Cleanup and minor fixes

* snappier ui

* Refactoring

* Fix state update bugs

* Bug fixes

* Write less to redux

* added comments to reducer code

* Render state machine (#1727)

* state machine works, but train step throttling not implemented

* more step logic, cleanup

* remove random try catcH

* mutex logic for render

* Update lock logic

* types and docs

* added some state machine logic to help rerenders

* merge

---------

Co-authored-by: Justin <justin.g.kerr@gmail.com>

* Refactor and cleanup

* More cleanup and docs

* docstring to gui_utils

* docstrings, rename viewer_param.py to viewer_elements.py

* Fix viewer, remove bridge stuff

* Render on connect

* Fix lint errors

* More eslint fixes

* render_freq logic

* better rerender logic for crop

* More cleanup

* Purge

* Cleanup

* Lint fixes

* Fix cache

* better parsing logic

* Fix infinite test

* More cleanup

* typo

* Update webdocs

* Update docs

* rerender on custom hooks

* add more docs

* Use shared utilities in `viser.infra`

* rework callback to use elements instead of handles

* Fix ESlint errors

* change naming of handle to element, add setter for value

* cleanup

---------

Co-authored-by: Matt Tancik <mattt4001@gmail.com>
Co-authored-by: Justin <justin.g.kerr@gmail.com>
Co-authored-by: Ethan Weber <eweb0124@gmail.com>
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-04-14 14:53:10 -07:00
Matthew Tancik
e5e67a7a5a
Update blender web docs (#1740)
Update blender docs
2023-04-14 11:42:19 -07:00
Jonáš Kulhánek
6c8739ece2
Respect wandb environment variables (#1738) 2023-04-14 16:28:00 +02:00
Pablo Vela
8126d47d8c
NeusFacto (#1654)
* add neus_facto method

* fix missing pixsfm from video process

* fix dev errors and small typos

---------

Co-authored-by: Ethan Weber <eweb0124@gmail.com>
2023-04-12 19:08:53 -05:00
Jonáš Kulhánek
fd6cc84808
Add support for torch v2.0.0 (#1713)
Fix missing torch._six namespace
2023-04-12 19:17:43 +02:00
Ayaan Haque
b85cb9f979
update in2n docs based (#1721)
* base changes

* done for now, just need assets

* fix

* add few changes

* remove unused files

* fixse
2023-04-11 13:05:51 -07:00
Pablo Vela
e7ec208b6a
add sdf mesh export and texturing (#1620)
* add sdf mesh export and texturing

* update bug not allowing use of no monopriors

* resolve comments

* update sdf name to be more generic

* fix silly naming bug
2023-04-11 13:34:45 -05:00
Matthew Tancik
2c6a328780
Add instruct-nerf2nerf to docs (#1711)
* base changes

* done for now, just need assets

* fix

* Update docs

---------

Co-authored-by: ayaanzhaque <ayaanzhaque@gmail.com>
2023-04-10 11:26:21 -07:00
Jingchen Ye
d59c1bdc2e
Remove useless code in camera_paths (#1717)
* Remove useless code

* Minor typo fix in docstrings
2023-04-10 09:26:09 -07:00
Ruilong Li(李瑞龙)
fa72a9767a
Monitor actual gpu memory allocation (#1715)
monity actual gpu allocation
2023-04-09 20:47:24 -07:00