Commit Graph
100 Commits
Author SHA1 Message Date
Ethan Weber fc347d40d4 quick ui fix 2022-12-03 01:55:17 +00:00
Ethan Weber 62f492f1bc update url 2022-10-01 20:04:51 +00:00
Ethan Weber b4a2a4051a quick doc add 2022-09-30 19:21:25 +00:00
Ethan Weber 49f00d50b1 update path 2022-09-30 18:41:34 +00:00
Ethan Weber c871ff7e13 update coefficient to match mipnerf360 paper 2022-09-29 23:33:50 +00:00
Ethan Weber 8fe6d7c762 fix module registration from python list to ModuleList 2022-09-28 17:38:19 +00:00
Ethan Weber cf34ef4bd0 rename files and add project scripts (#566)
* scripts

* b

* fix file
2022-09-27 15:02:55 -07:00
Ethan Weber 1f484661f2 zmq_url to zmq_port (#563)
* zmq_url to port

* lazy commit
2022-09-27 14:02:03 -07:00
Ethan Weber 1267045aed annealing for proposal network (#560)
* merged

* adding depth

* added annealing

* reverted launch.json

* reverted hidden dim

* changed loss

* losses match master

* comments

* fix black
2022-09-27 12:32:04 -07:00
Ethan Weber 9caf9934b6 use our distortion loss (#543)
swap out with our distortion loss
2022-09-26 15:13:17 -07:00
Ethan Weber 840bac9fc7 fixes indices split for nerfactory dataparser (#540)
fixes eval split for nerfactory
2022-09-25 18:21:26 -07:00
Ethan Weber 383a6075cc [wip] proposal network sampler (#534)
* initial running code

* dozer and poster 6K experiments

* code reorganization

* removed print

* black
2022-09-25 16:56:29 -07:00
Ethan Weber b338d3e196 camera controls fix 2022-09-22 20:55:30 +00:00
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
Ethan Weber 1d14263127 eval progress bar with more metrics (#499)
updated eval
2022-09-20 20:07:35 -07:00
Ethan Weber 35c8d7e53c misc viewer fixes including when no samples in a chunk (#491)
viewer fixes
2022-09-19 18:36:26 -07:00
Ethan Weber 4250161922 moving timing around (#487)
* moved timing functions around

* lint
2022-09-19 15:58:40 -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
Ethan WeberandMatt Tancik 9a39298e2f more config moving (#478)
* Move parser configs to files

* fixed circular import errors

* update to configs

* merge fixes

Co-authored-by: Matt Tancik <tancik@berkeley.edu>
2022-09-18 17:43:02 -07:00
Ethan Weber a2c49b0c16 more cpus for pytest (#468) 2022-09-17 23:22:52 -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 5ccb8277d1 nerfacc integration (#447)
* integrated changes

* update

* stratified

* black

* bump version

* upgrade version
2022-09-16 09:51:19 -07:00
Ethan Weber 1492f84930 installation documentation (#440) 2022-09-15 13:18:44 -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
Ethan Weber 26f7c5ddd3 added back parseInt 2022-09-13 23:33:27 +00:00
Ethan Weber 7fd8470429 added transform controls back (#424) 2022-09-13 16:27:59 -07:00
Ethan Weber 3a0807ec8c commented out file change 2022-09-13 18:49:53 +00: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
Ethan Weber de2cdb6cca Friends dataset loading (#389)
command line dataparsing and friends dataset loading improvement
2022-09-11 12:52:27 -07:00
Ethan Weber 5b8f0f0204 smaller images for viewer (#390) 2022-09-11 00:44:40 -07:00
Ethan Weber 16d02d4c21 Maintain a viewer version (#347)
* initial commit

* starting deploy script

* filename update

* requirements

* file

* branch name

* lazy commit

* lazy commit

* lazy commit

* lazy commit

* lazy commit

* lazy commit

* lazy commit

* lazy commit

* lazy commit

* lazy commit

* lazy commit

* lazy commit

* lazy commit

* lazy commit

* lazy commit

* lazy commit

* lazy commit

* lazy commit

* Update viewer_build_deploy.yml

* reading version from package json

* still deploy to branches

* update version
2022-09-10 14:33:43 -07:00
Ethan Weber adf249b3cd Interactable camera path (#372)
* click to add cameras

* buttons for translate, rotation, and world/local

* gui layout mostly done

* interpolation works

* slider play works

* camera code mostly working
2022-09-10 14:06:03 -07:00
Ethan Weber 7aa6ca9948 Kill the training script if the viewer ports are conflicting with other processes (#352)
kills program if conflicting ports for the viewer
2022-09-07 12:32:31 -07:00
Ethan Weber 512a51f714 Fixed friends dataset w/o caching (#365)
* fixing friends dataloading and nerfw running

* put dataset back to normal
2022-09-07 12:24:29 -07:00
Ethan Weber 5f555474be Fix button error that causes viewer to crash (#360)
fixing button name
2022-09-07 10:17:39 -07:00
Ethan Weber 4c77c4e7c0 Improve the web viewer UI [WIP] (#333)
* functional but style is bad

* banner. sidebar. tabs for controls/scene/camera_path/logs. websocket text field

* moved window. toggle scene button. next step: lint/clean code

* websocket and webrtc reconnection on url change

* reconnection on websocket change seems robust

* cleaned up errors and organized code

* fixing lint
2022-09-06 00:36:48 -07:00
Ethan Weber c46ff4f75f torch==1.12 and requirements.txt update (#302)
* cleaning up requirements.txt and adding versions

* need to update github actions, docs, and make optional dependencies work

* updated documentation

* set directory

* new functorch version

* updated caching

* fixed hash
2022-09-02 10:25:37 -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
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 Weberandevonneng 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
Ethan Weber 3963a1d9cb more pipeline docs (#294) 2022-08-24 14:11:35 -07:00
Ethan Weber 6879a8a9bd Reorganizing docs for pipeline restructure (#279)
* starting docs for pipelines

* working on an example

* clearing output

* starting to implement config changes and add documentation

* removing diff

* format

* templated pipeline notebook a bit

* black
2022-08-16 12:10:24 -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
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 WeberandJake Austin 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
Ethan Weber 543f3e2e3b update instructions for viewer (#257) 2022-08-08 18:00:26 -07:00
Ethan Weber a95f47cd08 pyproject and isort updates (#253) 2022-08-07 18:57:53 -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
Ethan WeberandEthan Weber d13a766b9e Serializing JSON code for drawable objects (and some documentation) (#222)
* some comments and starting serializing comments. on plane w/o formatter

* fixing pylint and black

* removed changes in file

* revert file

* addressing comments

* remove abstract

Co-authored-by: Ethan Weber <ethanweber@Ethans-MacBook-Pro.local>
2022-07-28 13:55:58 -05:00
Ethan WeberandAlexander Kristoffersen 934bd4bd72 Updating metrics dict code and logic for all the graphs (#198)
* illustrating logic of metrics dict with vanilla nerf

* updated all graph impls

* clean up.

* cleanup.

* format.

Co-authored-by: Alexander Kristoffersen <akristoffersen@berkeley.edu>
2022-07-26 21:02:45 -07:00
Ethan Weber 6cfccab336 fixing eval dataloader indices issue (#196)
* added some logic for the indices when none

* forgot to comment out code

* fix linting

* fixed typing
2022-07-22 16:29:14 -07:00
Ethan Weber 05b92e228b Fixing nerfw and adding to GH Actions (#167)
* added beta_min to nerfw, which I think is needed

* added camera interpolation path and restructured run_eval code

* adding to gitignore

* addressing github comments. mostly documentation

* fixing nerfw dataset for test cases
2022-07-19 16:21:54 -07:00
Ethan Weber d52c11c04c using prettier for more files. also, client app is built on merge to master (#141) 2022-07-14 11:33:56 -07:00
Ethan Weber 0f779c2885 quick fix to hydra issue on changing working directory 2022-07-13 23:27:56 +00:00
Ethan Weber 57a30208d8 Merge branch 'master' of github.com:plenoptix/pyrad 2022-07-13 18:02:57 +00:00
Ethan Weber 800a84d924 adding tensorboard logs to gitignore 2022-07-13 18:02:48 +00:00
Ethan Weber 4ddd146633 Improving eval script with camera trajectory videos (#124)
* spiral traj working, specify version for hydra, better documentation

* cleaned up spiral trajectory a bit
2022-07-13 10:58:01 -07:00
Ethan Weber ba658641f6 viewer docs update 2022-07-07 23:09:43 +00:00
Ethan Weber 74ec84117e cleaning up viewer code (#101) 2022-07-07 16:00:30 -07:00
Ethan Weber 44c5e3264c Documenting viewer and faster image sending (#86)
* updated three.js version. only send camera information when it moves

* changing code back to updating camera constantly because packets seem to be lost

* name change

* starting viewer docs

* new workflow

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* homepage

* homepage

* / to ?

* more documentation

* fixed none error

* instant ngp fix

* faster image sending over tcp. instant ngp bin fix. lowest res when moving

* black

* requirements
2022-07-07 00:03:45 -07:00
Ethan Weberandevonneng 56661b5d9a Viewer Dynamic Resolution Scaling (DRS) (#87)
* updated three.js version. only send camera information when it moves

* changing code back to updating camera constantly because packets seem to be lost

* interrupting function during rendering

* small linting fixes

* added logic for interrupting rendering + separted out visualizer logic from trainer

Co-authored-by: evonneng <evonne_ng@berkeley.edu>
2022-07-06 15:47:08 -07:00
Ethan Weber 44e2d7494e hydra version 1.2.0 (#83) 2022-07-05 15:10:06 -07:00
Ethan Weberandevonneng bf13ed3cf3 Integrating WebRTC into viewer (#73)
* restructuring for webrtc integration

* some webrtc code but not working

* webrtc connects when muted

* the flag is real!

* updating camera in websocket bridge. moved webrtc to existing websocket connection instead of http request. need to change video track

* rudimentary adding real-time imaging

* added free TURN server so code works everywhere

* slow rendering works during training with the viewer

* fix tensor device and update default model save dir

* forgot to include trainer updates

* removing some code that isn't needed

* quick fix to bins. not the most accurate however

* cleaned up code and added some config logic

* black

* adding license

Co-authored-by: evonneng <evonne_ng@berkeley.edu>
2022-07-05 14:52:49 -07:00
Ethan Weber e507c97e3e instant ngp fix (#80) 2022-07-05 14:36:35 -07:00
Ethan Weber fefbad2592 Fixed frustum device and updated model checkpoint defaults (#78)
* fix tensor device and update default model save dir

* removed viewer reference
2022-07-04 17:22:39 -07:00
Ethan Weber 025648e729 forgot to add a notebook 2022-06-16 20:54:55 +00:00
Ethan Weber 1e22984d87 Initial viewer (visualizer) code (#52)
* some initial code for viewer. copying from other repos

* adding electron support

* moving some test files around. need to rewrite these

* camera traj. test cases. starting to transmit images

* still working on vis

* reorganized viewer and figured out websocket sending from client. need to do with camera pose

* black

* temporarily ignore pylinting for viewer

* ignore viewer

* fixed array

* license and fixed ignore in pyproject.toml

* improved syntax
2022-06-16 12:11:40 -07:00
Ethan Weber 6deb452825 initial dataset documentation (#36)
* initial dataset documentation

* data docs

* fixed repo name

* removed file

* fixed instruction

* adding bash
2022-06-09 13:30:08 -07:00
Ethan Weber d16f87a957 fixing blender scene training with vanilla nerf 2022-06-08 18:00:51 +00:00
Ethan Weber 457788d689 dataloader logic, new folder structure, flatter configs (#26)
* renaming dataloader to data. adding some dataloader classes

* restructuring configs

* fixed instant ngp tcnn direction rescaling

* working through test cases

* black and lint and tests
2022-06-08 09:01:56 -07:00
Ethan Weber ebc64a13bf quick fixes to readme and reqs 2022-06-02 19:32:01 +00:00
Ethan Weber 023e6a3f92 merging masters new config 2022-04-29 22:29:43 +00:00
Ethan Weber 92062418d6 Merge branch 'master' into ethan/apr29_cpu_and_multigpu 2022-04-29 22:10:51 +00:00
Ethan Weber 387ad93027 merging 2022-04-29 22:10:36 +00:00
Ethan Weber 7b118750ec merged master into this 2022-04-29 21:37:10 +00:00
Ethan Weber 6b17ad51c6 cpu support and multi gpu progress 2022-04-29 21:29:13 +00:00
Ethan Weber 47691eb291 removing goat references 2022-04-29 16:36:47 +00:00
Ethan Weber dd6f79fc40 using test images. including some local data. black on save. disabled warnings for pytest 2022-04-29 16:23:05 +00:00
Ethan Weber 11d9c7271a black 2022-04-23 19:51:05 +00:00
Ethan Weber 80ad17700c pylint and test cases for dataloader 2022-04-23 19:45:53 +00:00
Ethan Weber 391803759e adding config 2022-04-23 17:37:13 +00:00
Ethan Weber 4c7d07116e added caching for dataloader 2022-04-23 17:36:57 +00:00
Ethan Weber 5f1baa5a7b Merge branch 'master' of github.com:ethanweber/mattport 2022-04-23 15:26:57 +00:00
Ethan Weber 078dc6aa04 removing dotdict 2022-04-23 15:26:53 +00:00
Ethan Weber 0dcf2ae599 fixed writer 2022-04-23 00:12:34 +00:00
Ethan Weber 181438a88b Merge branch 'ethan/test_set_integration' 2022-04-22 18:19:57 +00:00
Ethan Weber 5099a4f7c5 resizing image 2022-04-22 18:19:39 +00:00
Ethan Weber f090d9a001 training loop with tensorboard funs 2022-04-22 03:52:35 +00:00
Ethan Weber 4c0df2fde8 merged from master 2022-04-22 03:51:28 +00:00
Ethan Weber 9cc9f0f233 Merge branch 'master' of github.com:ethanweber/mattport 2022-04-22 03:45:19 +00:00
Ethan Weber cf7034f0d1 added test set (using training data for now) 2022-04-22 03:45:06 +00:00
Ethan Weber 7e5a5bf524 code runs again, working on integrating test set and optimizers 2022-04-21 21:57:36 +00:00
Ethan Weber 8ed28b7a37 Merge branch 'master' of github.com:ethanweber/mattport 2022-04-21 20:29:45 +00:00
Ethan Weber b6f878f227 merge 2022-04-21 20:29:43 +00:00
Ethan Weber 7ff63fe0be Merge branch 'master' into vanilla_nerf_implementation 2022-04-20 03:27:52 +00:00
Ethan Weber 0b0f7edb62 data instructions 2022-04-20 03:23:35 +00:00
Ethan Weber 9cd5c58fbd black formatting 2022-04-20 03:18:27 +00:00
Ethan Weber 7819f6da9d network pass running 2022-04-20 03:17:19 +00:00