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

136 Commits

Author SHA1 Message Date
Ethan Weber
21ebaceed1
fix viewer checkpointing (#511) 2022-09-21 17:56:18 -07:00
Ethan Weber
7b5a251a30
[wip] dynamic batch size for instant ngp (#501)
* starting dynamic batch size branch

* dynamic batch pipeline code
2022-09-21 14:07:04 -07:00
evonneng
0c43e7c4b2
updated event writing logic/moved save and print to after config set (#502)
* (1) if wandb/tb enabled always eval; (2) move printing of config to after all variables set

* (3) save config after everything is set

* dont change config; just disable eval with decorator
2022-09-21 13:40:56 -07:00
Ethan Weber
1d14263127
eval progress bar with more metrics (#499)
updated eval
2022-09-20 20:07:35 -07:00
evonneng
38f83de64b
removed post init method in config setup (#495)
* mrege

* nits
2022-09-20 14:56:48 -07:00
Matthew Tancik
046b5c216b
Misc cleanup (#494)
* misc cleanup

* Fix dependencies
2022-09-20 09:14:37 -07:00
Matthew Tancik
8b388a3e5c
Remove defaults from docstrings. (#480) 2022-09-19 10:04:25 -07:00
Brent Yi
acd126c1ef
Set dcargs accent color (#465)
* Set dcargs accent color

* Bump required dcargs version

* color -> colour

* Bump dcargs to 0.3.6
2022-09-19 00:28:06 -07:00
Ethan Weber
821333811b
update num_downscales default to 3 (2x, 4x, 8x) (#466)
update num_downscales default
2022-09-18 17:43:15 -07:00
evonneng
4e7ef375a2
[wip] logging separated s.t. only one is enabled (#458)
* updated viewer/writer configs

* allow viewer + tb/wandb but with errors; moved localwriter to its own thing

* nits and all

* update test
2022-09-17 17:50:11 -07:00
Ethan Weber
e22eab8c86
updating metrics logging (#460)
* integrated changes

* update

* stratified

* black

* bump version

* upgrade version

* improved wandb logging

* fix split for eval

* comments
2022-09-16 17:27:55 -07:00
Ethan Weber
8973039e65
misc cleanup (#432)
* misc cuda improvements. added cone angle as param

* wandb as default. better organization for experiments

* turn off tensorboard

* disable eval when using viewer

* remove comment

* launch.json
2022-09-15 00:16:41 -07:00
Matt Tancik
65ab15b5ce Update error handling in data processing script 2022-09-14 08:59:22 -07:00
Matthew Tancik
1d7051e4fe
Add rich printing to eval (#425) 2022-09-13 23:48:21 -07:00
Brent Yi
86a805c88c
Experimental autocompletion setup scripts (#378)
* Working completion scripts

* generate.py => install.py

* Uninstall for completions, docs/README updates

* Tune emojis, improve concurrency for completion install

* wip

* Cleanup

* Permissions, shebang checks
2022-09-13 12:44:27 -07:00
Brent Yi
61022f7dbe
Shorten dataparser subcommand (#420)
* Shorten dataparser subcommand

* Rename
2022-09-13 12:20:52 -07:00
Ethan Weber
9bc39d895c
Export camera path (#398)
* export button working

* view changes

* adding copy to clipboard feature

* camera choice dropdown

* going to add script saving next

* copy paste working. need to add aspect ratio

* aspect overlay kind of working

* lint

* aspect ratio fixed. version specified

* merge

* openrelay back
2022-09-13 11:33:58 -07:00
evonneng
416669d808
added basic download script (#410)
* basic script to download dataset

* update docs
2022-09-12 16:11:14 -07:00
Terrance Wang
f34a27511f
strip whitespace from ffprobe output (#386) 2022-09-10 15:37:23 -07:00
Matthew Tancik
6b2485d166
Cleanup logging (#379)
clean up logging
2022-09-09 10:26:45 -07:00
Brent Yi
12958ce1c3
(Minor) Remove cli_from_base_configs from view_dataset.py (#376)
Remove cli_from_base_configs from view_dataset.py
2022-09-08 19:48:09 -07:00
Brent Yi
97b77c6c5f
Bump dcargs, base config simplification (#368)
Updates for dcargs v0.3.0
2022-09-08 19:22:47 -07:00
Matthew Tancik
3ae6502116
Improve windows support (#374) 2022-09-08 15:56:38 -07:00
evonneng
e7cca834c8
added flag to view dataset from get-go (#366)
* added logic to comp rays/s on train and vis

* added test and fixed vis rays/sec

* added flag to just visualize dataset

* added new script for viewing only dataset
2022-09-08 13:29:17 -07:00
Matthew Tancik
e319b8210a
Add fisheye support to data processing (#369)
add fisheye support to data processing
2022-09-07 18:43:44 -07:00
Matthew Tancik
42711497ab
Support images in data preprocess (#363)
* support images in data preprocess

* typo
2022-09-07 11:59:40 -07:00
evonneng
56113e6c75
[WIP] dataloading cleanup (#332)
* testing; need to merge

* fixing wrong base file in models/base

* pushed input parser into datasets class to abstract away fetching data in dataloader

* slight name chage and all

* nits

* added dataparser

* added licnese
2022-09-06 13:54:35 -07:00
Matthew Tancik
397828f880
Pretty print configs (#343) 2022-09-05 17:56:17 -07:00
Matthew Tancik
c0ec352480
Update logging for process_data script (#341)
Printing not verbose by default
2022-09-05 14:24:53 -07:00
Matthew Tancik
b61fea8666
Remove downscaling from dataloading (#340) 2022-09-05 10:33:46 -07:00
Matthew Tancik
2ca0695fef
Add colmap preprocessing script (#338)
* Add colmap preprocessing script

* Fix lint, add dataparser
2022-09-04 17:39:30 -07:00
evonneng
b0f6d75cdf
refactored dataset names + multi-gpu running (#321)
* refactored dataset names + multi-gpu running

* update comments + docs
2022-09-01 18:22:11 -07:00
Matthew Tancik
2a94afd9ec
Correct notebook tag logic (#317) 2022-08-31 09:38:21 -07:00
evonneng
e96f7c0617
added logic for printing things (#309)
* added logic for printing things

* dynamic viewer url
2022-08-30 11:04:42 -07:00
Ethan Weber
2cca012ad8
Clickable viewer deployment (#308)
* first commit for clickable web viewer

* pylint ignore

* functional clickable viewer with updated docs

* fixed logging
2022-08-29 22:50:57 -07:00
Brent Yi
fe5f46c0aa
Config suggestions (#300)
* Config suggestions

* Add some TODO notes
2022-08-29 17:07:33 -07:00
Matthew Tancik
04d0165a24
Camera Refactor (#301)
* Start camera refactor

* Training runs, but transforms incorrect

* Cameras render correctly in viewer.

* Fix eval

* cleanup

* cleanup
2022-08-29 13:09:02 -07:00
Ethan Weber
7e9a56fac4
Config restructure (#283)
* starting docs for pipelines

* working on an example

* clearing output

* starting to implement config changes and add documentation

* wip: removed cicular imports; porting basic config into python; todo: get python setups workin

* circular imports again

* wip: pausing at dataloader sort of working

* break for today

* running vanilla

* wip need to get all the config docs working

* laptop about to die

* instant ngp working

* added all configs for all methods; not tested yet: [mipnerf360, nerfw, semantic_nerf]

* unpacking later

* done with pylinting

* mostly done. just need to do docs and one test

* added import order to docs

* fixing near/far plane and other config things

* making loggers also instantiable via configs

* docs

* lint

* making --help work with dcargs

* moving configs back into flat

* convert list to tuples; fixed post init function with mutable params

* lint

* made run_eval and benchmarking scripts compatible with new config/dcargs

* lint

* added option to load configs from presaved config

Co-authored-by: evonneng <evonne_ng@berkeley.edu>
2022-08-26 17:25:10 -07:00
Alexander Kristoffersen
b471736a61
iPhone (Record3D) Dataset (#235)
* init branch commit.

* intrinsics done.

* created dataset for record3d.

* clean up and documentation.

* cleanup.

* fixed orientation.
2022-08-16 23:24:49 -07:00
evonneng
1f1631cec6 removing callable modules from script/ 2022-08-15 21:31:43 +00:00
evonneng
efd5d39652
updating scripts; compatible with pipeline refactor (#278) 2022-08-15 13:26:37 -07:00
Ethan Weber
55ebaaf1b5
Hosting the viewer & webrtc logging (#271)
* might fix the stun server issue

* still debugging webrtc

* another turn server

* working on github actions

* updating actions file

* fixing actions

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* updating viewer

* update docs
2022-08-14 00:15:34 -07:00
evonneng
8e32e7863e
fixed broken ga; unable to import scripts/ (#274)
added init to scripts/
2022-08-12 09:23:51 -07:00
Ethan Weber
0b042be956
Pipeline v2 (#258)
* Model class done, pipeline class still needs more visualization stuffs

* Renaming the BaseDataContainer to DataloaderOutputs and adding documentation

* Pushing more documentation, removing some trivial functions

* Updating dict typing

* Removing config dicts for collider

* Passing tests

* Pushing shell new dataloader

* Saving work, need to fix NGP model's get_loss_dict and Pipeline

* V1 of the ngp pipeline should be done. Need train script and debugging

* Updating with latest instant-ngp code

* Syntax updates from latest ngp graph code

* Linter, removing unneeded code in new NGP graph code

* Style

* Should be good now. Linter is happy and the code is verbatum current instant-ngp

* Everything done except novel view testing code

* Fixing some nitpicks

* Debugging dataloader

* merged master

* WOP. integrating pipeline with configs and notebook demo

* removing model folder

* a lot of name changing from Graph to Model

* in progress... changing trainer to use pipeline... broken right now

* pipeline code runs

* switched to val dataset

* makes run_eval.py work

* updated configs for pipeline change

* fixing test_run_train script

* fixing black and linting

* fix docs

* small updates to trainer

Co-authored-by: Jake Austin <jake-austin@berkeley.edu>
2022-08-10 14:59:45 -07:00
evonneng
0d6060e0f0
Sync run_eval with benchmarking script (#260)
* added new .sh script for eval; removed old python script

* fixed changing dataset

* done refactoring eval script
2022-08-09 18:23:01 -07:00
evonneng
6281896e1d
fixed profiler bug with variable options (#254) 2022-08-08 09:53:12 -07:00
evonneng
c5acc9cc88
bug: using all data for eval now 2022-08-03 09:32:02 -07:00
Ethan Weber
73fedc7593
Viewer refactor with state sync (#212)
* initial commit for viewer refactor

* updating name change to nerfactory

* adding headers

* making the rendering fix which broke from a merge

* things are starting to work. removing old commands now

* removed prints

* cleanup

* updating state works now even for nested dictionaries

* updating state in redux. listening for state changes. trying to draw three.js now

* added drawing functionality. need to fix translation of frustums and image planes

* images and frustums drawn correctly

* fixing lint

* github actions

* back to npm

* fixing eslint

* remove package.json from root

* new favicon

* some viewer cleanup

* notebook

* fixed camera drawings speed to avoid redraw

* trying to get Leva to update

* quick fix

* synced config panel

* adding notebook

* fixing output print error
2022-08-02 16:02:07 -05:00
Matthew Tancik
966374474d
Update docs (#244)
* Update docs

* black
2022-08-02 13:51:45 -07:00
evonneng
2c40c1b2bc
Eng/better benchmarking (#240)
* add print

* updated benchmark for more fine-grain options
2022-08-01 23:14:01 -07:00