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

73 Commits

Author SHA1 Message Date
Matthew Tancik
2ca0695fef
Add colmap preprocessing script (#338)
* Add colmap preprocessing script

* Fix lint, add dataparser
2022-09-04 17:39:30 -07:00
Alexander Kristoffersen
18f8a5d0b8
Bug fixes with Record3D and new config system. (#336)
fixed some bugs regarding record3d and new config system.
2022-09-03 14:43:26 -07:00
evonneng
6f3518d54f
fixed sampler in wrong part of code (#331)
fixed sampler in wrong direction
2022-09-02 11:46: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
f910836b8c
Cleanup (#325)
cleanup
2022-09-01 12:36:54 -07:00
Terrance Wang
9b0cf2ab16
Terrance/instant ngp bug (#324)
* adding after iter callbacks in training loop

* moved callback

* fixed network name

Co-authored-by: Ethan Weber <eweb0124@gmail.com>
2022-09-01 12:11:28 -07:00
Terrance Wang
8670f19d2d
Terrance/tensorf (#218)
* added tensorf, updated requirements for windows

* cleaning up imports

* tensorf changes

* initial working version of tensorf

* added callback for feature upsampling

* modifying tests to match changes

* reverting requirements changes

* reverting unnecessary changes

* reverting unnecessary changes

* no more upsampling on step 0

* removed density field, fixed error msg

* modified callbacks and upsampling, reinitializing optimzer in training loop

* deleting tensorf_field file"

* checkpointing progress on restructuring callbacks

* updated callback logic for before and after train capabilities

* fixing upsampling stepping

* merging

* adding tensorf to config, fixing some bugs with new callback

* changed the way callbacks detected steps argument in callback func

* fixing typing

* adding pylint disable no self use to get_training_callbacks

* fixing config

* changing callback in vanilla nerf to allow for no density field

* cleanup

* removing config yaml

Co-authored-by: Ethan Weber <eweb0124@gmail.com>
2022-08-31 23:29:13 -07:00
Matthew Tancik
6ee6934581
Update dataset loaders (#319)
* Update dataset loaders

* Set ngp default to blender
2022-08-31 17:30:56 -07:00
Matthew Tancik
af5dbd2a66
Pretty print (#315) 2022-08-30 18:01:06 -07:00
Matthew Tancik
e186f77709
Add camera distortion (#312) 2022-08-30 16:51:41 -07:00
evonneng
8f42ce4b34
Changing filepaths to Path obj (#303)
changing from using strings to paths
2022-08-30 14:23:04 -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
ethanweber
7a084eaf62 Prettified Code! 2022-08-30 05:51:17 +00: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
Matthew Tancik
d6b3eccd9c
Add fisheye camera (#305) 2022-08-29 17:28:28 -07:00
Brent Yi
fe5f46c0aa
Config suggestions (#300)
* Config suggestions

* Add some TODO notes
2022-08-29 17:07:33 -07:00
evonneng
edf9f59940
moved num samples to instant ngp config (#304) 2022-08-29 15:50:59 -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
6bdb26c3a4 black fix 2022-08-29 16:01:33 +00:00
Ethan Weber
39cb55bf94 verbose cuda building. removing setup.py since it does nothing 2022-08-29 15:55:15 +00: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
Matthew Tancik
86ea6de059
Fix type errors (#296) 2022-08-25 08:48:25 -07:00
Matthew Tancik
7523e2dd6d
Fix node security issues (from dependabot) (#290)
Fix node issues
2022-08-23 08:53:35 -07:00
Alexander Kristoffersen
07a0dbc3a1
Update on Record3D Dataset (small fixes + documentation) (#286)
* updated dataset to deal with downscale factor and dataset size.

* added docs.

* updated resizing array to always guarantee size of dataset.
2022-08-22 17:15:18 -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
Alexander Kristoffersen
261f1f3344
Double Scaling Bug Fix (#282)
remove duplicate scaling.
2022-08-16 13:25:41 -07:00
Jake Austin
cdacfdaf2e
Pushing more documentation (#276)
* Pushing more documentation

* Adding max length option to IterableWrapper, fixing nitpicks

* Removing use of word dummy from dataclass
2022-08-16 11:35:51 -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
ethanweber
387057cd61 Prettified Code! 2022-08-14 07:15:51 +00: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
3083c201ed Prettified Code! 2022-08-13 00:36:09 +00:00
evonneng
2d3452e5a2
Adding colormap customization on viewer (#272)
* set up logic for colormap defined by user on viewer

* ooops typo

* nit

* done with defaults

* lint
2022-08-12 17:35:53 -07:00
evonneng
26a37e750a Prettified Code! 2022-08-12 16:53:48 +00:00
evonneng
b03755d6ab
[WIP] added preset button controls; moved rendering into timing loop (#270)
added preset button controls; moved rendering into timing loop
2022-08-12 09:53:29 -07:00
evonneng
2768705bbc Prettified Code! 2022-08-11 23:35:15 +00:00
evonneng
1499fd1cd7
added stats- ratio train:visualizer (#268)
added stats: ratio train:visualizer
2022-08-11 16:34:57 -07:00
Ethan Weber
841e03a9a3
Default to train dataset when eval isn't specified in config (#265)
default to train dataset when eval isn't in config
2022-08-10 15:29:56 -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
2b1d9b6d2b Prettified Code! 2022-08-09 22:30:55 +00:00
evonneng
29a6e02c07
added basic stats to viewer (#259) 2022-08-09 15:30:27 -07:00
Ethan Weber
543f3e2e3b
update instructions for viewer (#257) 2022-08-08 18:00:26 -07:00
evonneng
035c911574
throttling rendering resolution (#256) 2022-08-08 12:00:05 -07:00
evonneng
113b6d3faf
fixed memory leakage caused by writer (#250)
* add print

* updated benchmark for more fine-grain options

* fixed increasing gpu memory leakage

* merge didnt save

* isort not working locally?

* checking isort order
2022-08-04 19:22:29 -07:00
Matthew Tancik
dfe13334e7
Add leva theme (#245)
* Add leva theme

* Fix linting
2022-08-02 15:49:21 -07:00
ethanweber
3e0654b435 Prettified Code! 2022-08-02 21:02:28 +00: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
Matt Tancik
fc1ba5e630 Use reduce 2022-08-01 17:19:51 -07:00
Matthew Tancik
3abc586427
Remove some type ignores (#238) 2022-08-01 15:01:39 -07:00
Matthew Tancik
30c58a9393
Update encodings (#237) 2022-08-01 09:59:42 -07:00