Commit Graph
55 Commits
Author SHA1 Message Date
evonneng 54f7affe02 scrolling! (#413)
* scrolling

* added additional scroll
2022-09-12 23:00:17 -07:00
evonneng e516e668b9 [wip] added throttle so viewer doesnt crash (#411)
* added throttle so viewer doesnt crash

* fix rendering bug

* lint
2022-09-12 18:32:09 -07:00
Matt Tancik b651a532bd Update viewer url 2022-09-12 11:46:51 -07:00
Matthew Tancik 6b97edbbad Add additional help messages to modal (#400) 2022-09-12 10:15:46 -07:00
Matt Tancik 1fb5e40761 Update viewer version 2022-09-11 20:00:38 -07:00
Matthew Tancik e394954c7c Add codec to webrtc (#399)
Add codec
2022-09-11 19:14:58 -07:00
Matthew Tancik 7a7a5e608a Dynamic resolution in viewer (#397)
Dynamic resolution
2022-09-11 18:31:54 -07:00
Matthew Tancik 1b4e0fa5c5 Switch to using meshline (#393) 2022-09-11 12:05:51 -07:00
ethanweber 4c9999b7e7 Prettified Code! 2022-09-11 07:45:02 +00:00
Ethan Weber 5b8f0f0204 smaller images for viewer (#390) 2022-09-11 00:44:40 -07:00
evonneng d50c71ac43 update docstrings and random cleanups (#387)
* fixing docstrings and small nits; up to fileds

* finished adding and fixing docstrings
2022-09-10 23:09:44 -07:00
Matthew Tancik bd5967461d Update camera panel ui (#388)
Update camera panel up
2022-09-10 17:18:31 -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
Matthew Tancik ad4a6c4a6f Tune viewer for faster rendering (#385)
Tune viewer
2022-09-09 17:32:10 -07:00
Matthew Tancik 9292a02287 Small optimizations when working with images (#375)
* data optimization

* lint
2022-09-08 19:17:15 -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
evonneng 7b6ed5496b added logic to comp rays/s on train and vis (#364)
* added logic to comp rays/s on train and vis

* added test and fixed vis rays/sec
2022-09-07 13:43:53 -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
Matt Tancik 5803fe5e19 Update printing 2022-09-07 11:58:45 -07:00
ethanweber ba8f6e78ab Prettified Code! 2022-09-07 17:17:58 +00:00
Ethan Weber 5f555474be Fix button error that causes viewer to crash (#360)
fixing button name
2022-09-07 10:17:39 -07:00
Matthew Tancik e33f20bebc Update UI (#357) 2022-09-06 23:10:18 -07:00
Matthew Tancik 28d5b3bda1 Update ui (#354) 2022-09-06 16:23:35 -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 e907bc5c71 re-theme ui (#349) 2022-09-06 10:45:16 -07:00
ethanweber 95884a7f95 Prettified Code! 2022-09-06 07:37:10 +00: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
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 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 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
Matthew Tancik 7523e2dd6d Fix node security issues (from dependabot) (#290)
Fix node issues
2022-08-23 08:53:35 -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 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
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
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