Commit Graph
90 Commits
Author SHA1 Message Date
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
evonneng 8f42ce4b34 Changing filepaths to Path obj (#303)
changing from using strings to paths
2022-08-30 14:23:04 -07:00
evonneng 2d1ba13e12 Added CI Badges + shortened names (#310)
* adding badges

* update names
2022-08-30 11:08:27 -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
evonneng edf9f59940 moved num samples to instant ngp config (#304) 2022-08-29 15:50:59 -07:00
evonneng efd5d39652 updating scripts; compatible with pipeline refactor (#278) 2022-08-15 13:26:37 -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 8e32e7863e fixed broken ga; unable to import scripts/ (#274)
added init to scripts/
2022-08-12 09:23:51 -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
evonneng 3cb44f3a8e doc refactoring (#267)
* reformatted docs; moved visualizer section; added references to top; hiding some doctrees etc.

* changed realtime viewer tab
2022-08-10 16:15:44 -07:00
evonneng 670c2a01db update doc to reflect new benchmarking (#264)
* added new .sh script for eval; removed old python script

* fixed changing dataset

* done refactoring eval script

* update docs
2022-08-10 12:43:13 -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 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
evonneng 035c911574 throttling rendering resolution (#256) 2022-08-08 12:00:05 -07:00
evonneng 6281896e1d fixed profiler bug with variable options (#254) 2022-08-08 09:53:12 -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
evonneng c5acc9cc88 bug: using all data for eval now 2022-08-03 09:32:02 -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
evonneng a78394c49d [WIP] adding typing and linting to visualizer code (backend python files) (#189)
* first round adding typing and linting to server files

* continued...

* added new formatting conventions

* committing current progress...

* finished with geometry

* homerun :')
2022-07-22 16:38:58 -07:00
evonneng 41347d908b fixed bug; added optimizations to interrupt (#191)
* fixed bug; added optimizations to interrupt

* removed timed sleep

* lint
2022-07-21 16:52:30 -07:00
evonneng 529dd61aaf Prettified Code! 2022-07-20 02:42:50 +00:00
evonneng 928a414468 adding sliders for min/max value user defined (#179)
* added sliders for min/max values... todo debug glitchy if camera moves

* fixed camera changing bug and removed sliders from config
2022-07-19 19:42:17 -07:00
evonneng 0c3cd727fc added timing-bottlenecked rendering (#177) 2022-07-19 19:35:56 -07:00
evonneng af9cc42fd6 Prettified Code! 2022-07-19 23:33:25 +00:00
evonneng 12c7d41241 added start/stop button (#173)
* added start/stop button

* added declorator; fixed camera interrupt race condition

* add docs + typechecking
2022-07-19 16:33:01 -07:00
evonneng 3df29717dd added avg total fps (#170)
* added fps as benchmarking stats

* update total avg for fps/rays/s
2022-07-18 12:56:32 -07:00
evonneng cc9a438057 added fps as benchmarking stats (#142) 2022-07-14 17:04:47 -07:00
evonneng 069cf2c40f Eng/vis multi outputs (#131)
* added dynamic setting options based on graph outputs

* added functionality to view different types of outputs

* fixed first value set to nothing

* moved try except in smaller scope

* thinking I fixed the weird every so often python stops because of exception error

* fixed many dropdown issue; fixed default value issue
2022-07-13 14:36:11 -07:00
evonneng 25a1f91dee Visualizer: toggle between different output options (#122)
* added dynamic setting options based on graph outputs

* added functionality to view different types of outputs

* fixed first value set to nothing

* moved try except in smaller scope
2022-07-12 18:52:04 -07:00
evonneng efa40993e0 small fix silencing exception on camera change (#112) 2022-07-11 16:07:52 -07:00
evonneng 898d9384a5 added logic to check all graphs in testing (#111)
* added logic to check all graphs in testing

* fixed path to test dataset
2022-07-11 16:05:44 -07:00
evonneng b0594935af adding typing to viewer code (#106)
* moved logic for interrupting rendering to visutils

* added typing to viewer code

* lint
2022-07-08 20:13:52 -07:00
evonneng be45d5c9bb moved logic for interrupting rendering to visutils (#102) 2022-07-07 17:56:22 -07:00
evonnengandEthan Weber c2ca0f2958 finish rendering if at minimum (#91)
* 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

* finish rendering if at minimum

Co-authored-by: Ethan Weber <eweb0124@gmail.com>
2022-07-06 17:08:24 -07:00
evonneng 39063b04fb Webrtc cleanup (#84)
* deleted video_stream_old file

* removed old video stream file
2022-07-05 15:03:03 -07:00
evonneng ee4e6b24f4 Added structured config support (#58)
* added typed config; idealy would convert graph to typed too....

* added graph as config
2022-06-17 08:46:03 -07:00
evonneng d65b50a0e3 Removed hardcoding in benchmarking code (#59)
* updated benchmarking script

* removed annoying benchmarking hardcoding
2022-06-16 20:14:10 -07:00
evonneng 91ef54963c refactoring configs; pulled network out of graph; created trainer heirarchy (#51)
* changed config graph structure

* removed network udner graphs; added new heirarchy trainer

* fixed callback in occupancy graph

* lint

* changed register callback to setter method
2022-06-15 09:06:43 -07:00
evonneng f67dca6f5b refactor moving setup functions to associated classes; cleanup eval and benchmark scripts (#48)
* refactor code to move graph/dataset setup to respective files

* consolidated eval and benchmark script

* moved setup optimizers to its own thing
2022-06-13 19:05:07 -07:00
evonneng f2d2bde1ac Cleaner timing function calls with wrapped logic (#39)
* cleanup timing for logger events

* cleaned up context manager timer

* fixed lint
2022-06-10 15:33:04 -07:00
evonneng bed39763a1 updated benchmarking script (#32) 2022-06-08 17:39:15 -07:00
evonneng 3949739449 Created skeleton structure for documentation (#30)
* added contribution docs

* set up skeleton for readthedocs

* setup skeleton structure for documentation

* added tooling docs

* fixed broken link
2022-06-08 17:27:08 -07:00
evonneng 5433f831ac add licensing headers (#27)
* add licensing headers

* add licensing to run actions

* rerun headers file

* remove trailing white spaces
2022-06-08 13:31:13 -07:00
evonneng 24c1c77ef1 added wandb support (#24) 2022-06-07 17:35:30 -07:00
evonneng b9c71cf105 Update README.md 2022-06-07 16:56:51 -07:00
evonneng f7e6441bea Create LICENSE (#23) 2022-06-07 16:50:32 -07:00
evonneng 4234762b4b Merge pull request #17 from plenoptix/eng/docs
debugging rst with md
2022-06-06 20:15:58 -07:00
evonneng 93ef7a729f Merge pull request #13 from plenoptix/eng/docs
update readme; will port over to rst later
2022-06-03 12:04:53 -07:00
evonneng d4cd522664 pin in it; working on debugging 2022-06-02 13:27:55 -07:00
evonneng 24c3b0ddf5 Merge pull request #3 from plenoptix/eng/docs
update skeleton getting around docs
2022-05-31 15:13:32 -07:00
evonneng f6d8928bd6 removed group and prefixes for logging (#118) 2022-05-31 13:10:01 -07:00
evonneng 84d01ddd25 add print to beginning of train (#114)
* added print unrolled config to beginning of train
2022-05-30 11:42:58 -07:00
evonneng fbcf3cb831 Eng/better configs (#113)
* update possible config setup

* finished porting remaning configs

* fix bugs

* change mattprot to radiance in config
2022-05-30 10:47:49 -07:00
evonneng 9d2b34ab60 Added auto find gpu; added method name to arg list (#111)
* update benchmarking for better practice

* fixed logic for finding/distributing across GPUS

* added method to argument list
2022-05-30 09:01:52 -07:00
evonneng 5e9d064db6 update benchmarking for better practice (#107) 2022-05-24 12:37:45 -07:00
evonneng 6f0c05ad93 update pretty printing of time (#103) 2022-05-23 13:44:02 -07:00
evonneng 985560eace callback for optimizer (#99) 2022-05-23 08:57:27 -07:00
evonneng 2144fd1527 Enable stats tracker logging on full history (#91)
* added logger ability to log everything without erasing
2022-05-20 11:41:34 -07:00
evonneng 10d713f84b Consolidate StatsTracker as LocalWriter; cleaned up functions to write (#88)
* removed stats tracker; consolidate writers into local writer

* basic revamp of stats tracker/writers
2022-05-20 08:51:45 -07:00
evonneng 1dc574281c Added eval script for benchmarking blender dataset (#71)
* fixed train iteration to much longer

* done adding test benchmark script
2022-05-11 17:56:39 -07:00
evonneng 1563afe51c update readme (#69) 2022-05-11 11:03:15 -07:00
evonneng a555ef7eb4 cap history in calc avg of stats; tensorboard output to /tmp (#67)
* cap history in calc avg of stats

* fixed too many nested ifs
2022-05-10 16:55:16 -07:00
evonneng 470812fab6 removed erroneous test default config 2022-05-06 21:57:51 -07:00
evonneng a498a6cc64 Standardized logging code to all global var; writers now accessible from all files (#62)
* added skeleton for terminal logger

* done skeleton terminal writer logic... todo: actual calls to the write classes

* moved lambda to top function

* added logic to support timing

* prettier printing

* prettier printing

* lint

* separated out timing and other stats variables. printing in dict format

* keeping logging history and wiping rest

* updated logic to calculate total times instead of average times

* made stats tracker configurable

* moved stats tracker and profiler to own class file; implemented basic functionality for profiler

* lint removing duplicate function

* update readme; moved around config variables

* profiler prints on sig kill

* merge

* standardized all logging to global variables
2022-05-06 21:55:33 -07:00
evonneng 3a35bcda91 adding scripts for easy local run (#59) 2022-05-05 13:48:34 -07:00
evonneng e874e856ec changed test config file to inherit from default (#49)
* lint

* reconfigured modules in yaml

* added data module

* changed test config file
2022-04-29 16:18:30 -07:00
evonneng 9004584026 added data/ config folder (#47)
* lint

* reconfigured modules in yaml

* added data module
2022-04-29 15:01:39 -07:00
evonneng a93dace958 modularizing hydra config and setting defaults (#46)
* lint

* reconfigured modules in yaml
2022-04-29 14:39:43 -07:00
evonneng 86b1011ae1 Printing profile on sig kill. (#44)
* added skeleton for terminal logger

* done skeleton terminal writer logic... todo: actual calls to the write classes

* moved lambda to top function

* added logic to support timing

* prettier printing

* prettier printing

* lint

* separated out timing and other stats variables. printing in dict format

* keeping logging history and wiping rest

* updated logic to calculate total times instead of average times

* made stats tracker configurable

* moved stats tracker and profiler to own class file; implemented basic functionality for profiler

* lint removing duplicate function

* update readme; moved around config variables

* profiler prints on sig kill
2022-04-29 11:10:34 -07:00
evonneng 609fcb04f6 Set up profiler and moved stats tracker to its own class; set up configurables for stats tracker and profiler (#42)
* added skeleton for terminal logger

* done skeleton terminal writer logic... todo: actual calls to the write classes

* moved lambda to top function

* added logic to support timing

* prettier printing

* prettier printing

* lint

* separated out timing and other stats variables. printing in dict format

* keeping logging history and wiping rest

* updated logic to calculate total times instead of average times

* made stats tracker configurable

* moved stats tracker and profiler to own class file; implemented basic functionality for profiler

* lint removing duplicate function
2022-04-28 15:04:00 -07:00
evonneng 23b70634cb Remove clutter for logging in terminal (#40)
* added skeleton for terminal logger

* done skeleton terminal writer logic... todo: actual calls to the write classes

* moved lambda to top function

* added logic to support timing

* prettier printing

* prettier printing

* lint

* separated out timing and other stats variables. printing in dict format

* keeping logging history and wiping rest

* updated logic to calculate total times instead of average times
2022-04-26 12:12:57 -07:00
evonneng 5d4ffa210a Prettier printing of times. (#39)
* added skeleton for terminal logger

* done skeleton terminal writer logic... todo: actual calls to the write classes

* moved lambda to top function

* added logic to support timing

* prettier printing

* prettier printing

* lint
2022-04-25 09:17:19 -07:00
evonneng ca76f70d49 Added timing logic within trainer class (#37)
* added skeleton for terminal logger

* done skeleton terminal writer logic... todo: actual calls to the write classes

* moved lambda to top function

* added logic to support timing
2022-04-22 17:33:02 -07:00
evonneng 17d837babf Integrating logic for setting up optimizers in run_train and config files (#33)
* added optimizers

* added optimizer logic for setting it up; todo-- fix optimizers and add step logic

* typing out the alphabet
2022-04-21 13:23:18 -07:00
evonneng 4d1a6b2dbd cleanup and added logic to train for load/save checkpoints (#32)
* added checkpointing logic

* small nits

* check DDP running correctly

* cleanup and added logic to train for load/save checkpoints

* lint
2022-04-21 11:39:44 -07:00
evonneng 1cb3a02f07 added optimizers (#30) 2022-04-20 17:51:13 -07:00
evonneng 2626f6acd9 Eng/logger (#28)
* added skeleton for terminal logger

* done skeleton terminal writer logic... todo: actual calls to the write classes

* moved lambda to top function
2022-04-20 13:43:36 -07:00
evonneng bf3b77f952 Eng/distributed training (#27)
* added checkpointing logic

* small nits
2022-04-20 12:06:29 -07:00
evonneng 8e36b8c313 moved tests to their own directory (#19) 2022-04-15 15:19:04 -07:00
evonneng 4b131d4358 lint (#15) 2022-04-12 17:26:29 -07:00
evonneng 76eac71123 Merge pull request #14 from ethanweber/eng/hydra_setup
changed config loading to hydra for graph generation + tests
2022-04-12 17:07:46 -07:00
evonneng 1995afda57 Merge pull request #13 from ethanweber/modules_structuring
New logic to calculate input dimensions given dependencies
2022-04-12 12:49:15 -07:00
evonneng 00934eed75 Merge pull request #9 from ethanweber/modules_structuring
done structuring graph + ordering module calls; [todo]: figure out calling logic using graph structure in forward()
2022-04-09 14:17:12 -07:00
evonneng 38076edbe4 Merge pull request #8 from ethanweber/modules_structuring
modules initialization logic
2022-04-08 23:03:34 -07:00