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

123 Commits

Author SHA1 Message Date
Brent Yi
63c6303736
Bump minimum Python version to 3.8 (#1876)
* Bump minimum Python version to 3.8

* typing_extensions.Literal -> typing.Literal

* ns-dev-test

* typing_extensions.get_args => typing.get_args

* Format with older version of black

* Bump `black`

* Run black
2023-05-06 13:29:48 -07:00
Matthew Tancik
ad706f59c4
v0.2.2 (#1875) 2023-05-04 14:43:45 -07:00
Matthew Tancik
281615e638
Add missing .cu files to pyproject (#1824) 2023-04-26 09:46:39 -07: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
Matthew Tancik
6a06710f49
v0.2.1 (#1769) 2023-04-18 17:28:37 -07:00
Matthew Tancik
b7fd273638
Add time controls to viewer (#1764) 2023-04-18 15:06:03 -07:00
Matthew Tancik
37322ec453
Add typing extensions to pyproject (#1763) 2023-04-18 09:57:51 -07:00
Matthew Tancik
49835b2eab
v0.2.0 (#1751) 2023-04-17 09:10:59 -07:00
Brent Yi
2ddb2631b5
Improve viewer element types (#1743) 2023-04-15 01:14:38 -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
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
af29ead3a2
Fix the typeguard version (#1612)
* Fix the typeguard version

* avoid torch 2

* fix
2023-03-15 18:33:58 -07:00
Matthew Tancik
7ae2fce52b
v0.1.19 (#1585) 2023-03-10 18:10:33 -08:00
Matthew Tancik
63af268495
Remove webrtc (#1579)
* Remove webrtc

* cleanup

* lint

* cleanup

* Lower quailty

* Update viewer version

* Update docs

* remove cryptography req
2023-03-10 12:00:35 -08:00
Paul Wais
5c73766653
SFM: sfm-based depth, some breadcrumbs for pycolmap (#1457)
* save

* save

* more cleanup

* save

* save

* update phototourism

* save

* works

* works

* cleanup

* cleanup

* lint

* python3 default

* cleanup
2023-02-25 21:10:53 -08:00
Ruilong Li(李瑞龙)
3933589b94
bump nerfacc to 0.3.5 (#1492) 2023-02-24 11:17:21 -08:00
Rohan Mathur
796fad8bcb
Equirectangular input (#1446)
* started adding equirectangular to process_data

* was multiplying frame by 255 twice

* added equi2planar configs for the 3 presets

* fixed presets

* setup process data

* changed variable name and comment

* fixed middle preset

* removed third preset

* added progress bar and fixed video for equirectangular input

* fixed whitespace stuff

* added pyequilib dependencey

* Updated for JPG support for equirectangular image input

Updated process_data_utils for JPG support for equirectangular image input, since even though .jpg images worked, .JPG images (output from 360 camera software) were not working.

* changed file type matching

* added equirect utils

* added license header

* added docstring on equirect utils

* added heuristic for image size

* added heuristic for videos

* fixed linty stuff

* shortened code

* raised error if no ims in directory

* Updated ProcessVideo for fixing directories for equirectangular input

Updated the ProcessVideo for equirectangular input to make the image directory have the correct perspective projections. The original equirectangular images are copied into a temp_images folder which also holds the perspective projections. This folder is deleted once the perspective projections are copied into the process data images folder.

---------

Co-authored-by: cvachha <cyrus.vachha@yahoo.com>
Co-authored-by: cvachha <cvachha549@gmail.com>
2023-02-20 10:58:42 -08:00
Matthew Tancik
e2dadc20ab
v0.1.18 (#1455) 2023-02-19 14:49:59 -08:00
machenmusik
9c5423f181
Update to allow pytorch (and functorch) 1.13.1 (#1390)
* Update pytorch (and functorch) to 1.13.1

Note that for existing installations, the following is recommended due to complications with older versions of functorch:
- `pip uninstall torch torchvision functorch`
- install the correct pytorch 1.13.1 version for your CUDA installation from https://pytorch.org/get-started/locally/ but add functorch to the command -- for example, Windows CUDA 11.7 would be `pip3 install torch torchvision functorch--extra-index-url https://download.pytorch.org/whl/cu117`
- reinstall nerfstudio e.g. `pip install -e .` from the source directory

* Update installation.md

* Allow 1.13.1, don't force

* pytorch 1.12.1 and 1.13.1

* Update README.md

* Update installation.md
2023-02-14 08:59:26 -05:00
Matthew Tancik
9808ebbcb8
v0.1.17 (#1409) 2023-02-12 11:14:12 -08:00
Matthew Tancik
2b52f51b88
Downgrade nerfacc to 0.3.3 (#1408)
reset nerfacc to 0.3.3
2023-02-12 11:05:59 -08:00
Jonáš Kulhánek
6368340aa2
Add ns-viewer command to run viewer only with model in eval mode (#1379)
* Add ns-viewer command to run only viewer with model in eval mode

* Remove profiler and logger

* Fix ns-viewer

* ns-viewer remove writer.setup_local_writer

* ns-viewer add writer.setup_local_writer

* ns-viewer: update docs

* Delete outputs
2023-02-09 17:31:16 -08:00
Jonáš Kulhánek
59f71eda0e
Allow methods configs to be discovered from external packages. (#1357)
* Allow method_config to be registered from external packages

* Add license

* Add MethodSpecification class + fix linter errors

---------
2023-02-06 13:25:33 -08:00
Matthew Tancik
e979f89200
Avoid protobuf 3.20.0 (#1330) 2023-02-01 12:21:57 -08:00
Matthew Tancik
11e7fa87e0
Add Stable Diffusion helper code (#1320)
* Add stable diffusion

* Add dependencies fix lint

* Update types

* Update comment

* fix comments

---------

Co-authored-by: David McAllister <davidrmc2@gmail.com>
Co-authored-by: Abhik Ahuja <ahujaabhik@berkeley.edu>
2023-02-01 10:29:08 -08:00
machenmusik
edef6d62f6
bump nerfacc to 0.3.4 (#1322)
Co-authored-by: Chen, Michael <Michael_Chen@cable.comcast.com>
2023-01-31 18:52:42 -08:00
Matthew Tancik
867ed48f30
Tancik/protobuf version req update (#1303)
* Fix normal orientation loss

* Update protobuf req

---------

Co-authored-by: Abhik Ahuja <ahujaabhik@berkeley.edu>
2023-01-29 09:05:07 -08:00
Matthew Tancik
7979310def
v0.1.16 (#1296) 2023-01-26 19:19:15 -08:00
David McAllister
2ce08f6363
PIL Dependency (#1197)
Update pyproject.toml

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-01-26 16:36:28 -08:00
machenmusik
a4b023b171
Rollback cryptography to fully working version (pre-39; 38 works) (#1254) 2023-01-18 15:20:03 -08:00
Matthew Tancik
628e4fe1a6
Bump nerfacc to 0.3.3 (#1249) 2023-01-17 17:46:28 -08:00
Matthew Tancik
2082d6bcaf
Loosen dependencies (#1240)
* remove protobuf pinned version requirement

* Loosen dependencies

* Protobuf can't be too new
2023-01-16 17:00:05 -08:00
Matthew Tancik
b88747dd20
v0.1.15 (#1237) 2023-01-16 15:37:44 -08:00
Ruilong Li(李瑞龙)
028df82be6
upgrade nerfacc to 0.3.x with CUB accel (#1187) 2022-12-31 07:28:11 +08:00
Matthew Tancik
af5953e2a8
v0.1.14 (#1145) 2022-12-18 13:15:28 -08:00
Alexander Kristoffersen
cc38d48294
Upgraded Gdown to fix data downloading. (#1140)
upgraded gdown to fix some data downloads.
2022-12-16 12:42:45 -08:00
Matthew Tancik
910e7bfb05
v0.1.13 (#1107) 2022-12-11 13:05:03 -08:00
Ethan Weber
f6ac1d72ff
v0.1.12 (#1079) 2022-12-02 18:22:26 -08:00
Ethan Weber
1052fccec2
Mesh export (#809)
* start of mesh PR

* point cloud export mvp

* start of mesh PR

* point cloud export mvp

* Save out mesh. Poor quality atm

* reorganized mesh algorithms and specified CLI

* CLI reorg

* tsdf algorithm in progress

* debugging

* tsdf functional but camera distortion params not in

* playing with distortion params

* TSDF works but texture looks bad

* added trimesh

* moved to exporter

* removed files

* saving progress

* save texture image

* seems to work w/o barycentric

* barycentric start

* gap between triangles

* blocking out diagonal

* new barcentric and scaling

* meshing working. need to remove extra rows

* fixed triangle packing

* gitignore changes

* removed package

* fix Literal import

* comments

* update .mtl file

* poisson mesh with model output normals & resolved some PR comments on git

* starting docs. breaking up big function. todo: add xatlas

* xatlas and nvdiffrast working

* triangle_id

* progress on expensive texture coordinates method

* pytorch meshing works

* removing nvdiffrast

* remove trimesh

* cleanup

* few changes

* pred normals by default and add minimum additions to viewer

* fix cli in viewer

* add xatlas as dependency

* make point cloud more dense

* reverted viewer changes

* turn off normals by default

* fix docs

* finished todos on github

* remove xatlas

* xatlas

* black

Co-authored-by: Matt Tancik <tancik@berkeley.edu>
2022-12-02 10:49:19 -08:00
Matthew Tancik
6c805b6d33
v0.1.11 (#1043) 2022-11-28 15:16:54 -08:00
Matthew Tancik
0a57c7c72b
Ignore non-image files in ns-process-data (#1040)
* Ignore non-image files in ns-process-data

* Update reqs

* bump ipython
2022-11-28 10:38:37 -08:00
Matthew Tancik
54d822afcc
v0.1.10 (#974) 2022-11-17 10:17:52 -08:00
Matthew Tancik
6baf31dc9a
Fix python 3.7 support (#959) 2022-11-15 09:51:23 -08:00
Zak Murez
6ea7dbf934
NuScenes dataparser (#939)
* nuscenes dataparser

* cleanup

* style

* cleanup

* cleanup

* cleanup

Co-authored-by: zmurez <zmurez@eng.ucsd.edu>
2022-11-11 18:40:36 -08:00
Matthew Tancik
f964e0dfe4
v0.1.9 (#941) 2022-11-10 22:50:44 -08:00
Matthew Tancik
ee6b007155
Avoid boolean flag auto conversion (#929) 2022-11-09 20:23:05 -08:00
Matthew Tancik
8d3640c6a1
Support exporting point clouds (#924)
* Support exporting point clouds

* Fix typing

* lint

* Update requirements
2022-11-08 22:23:06 -08:00
Matthew Tancik
cda22ce606
v0.1.8 (#890) 2022-11-03 12:24:28 -07:00
Matthew Tancik
7aa28d0f8d
v0.1.7 (#852) 2022-10-29 16:15:39 -07:00
Matthew Tancik
fdddbacc45
v0.1.6 (#820) 2022-10-21 09:53:39 -07:00