Commit Graph
45 Commits
Author SHA1 Message Date
Matt Tancik 076c5bf0b7 Add stratified sampling and enable pdf sampling 2022-04-29 15:37:33 -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
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
evonneng 58f2622f4d added general testing, fixed up config, made writer general 2022-04-28 23:21:01 +00: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
Ethan Weber 80ad17700c pylint and test cases for dataloader 2022-04-23 19:45:53 +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
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
Ethan Weber 5099a4f7c5 resizing image 2022-04-22 18:19:39 +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 0c3a72b8b3 Merge pull request #31 from ethanweber/tancik/dict_outputs
Switch to dictionary outputs
2022-04-21 13:28:50 -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
Matt Tancik 755716dbf7 Merge branch 'master' of github.com:ethanweber/mattport into tancik/dict_outputs 2022-04-21 11:42:39 -07:00
Matt Tancik 631a694f6b fix lint errors 2022-04-21 11:41:15 -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 af74b4e95c check DDP running correctly 2022-04-21 17:06:29 +00:00
Matt Tancik 32af0082c7 Fix linting issues 2022-04-20 14:10:59 -07:00
Matt Tancik 3311b3c94e run black 2022-04-20 14:02:44 -07:00
evonneng bf3b77f952 Eng/distributed training (#27)
* added checkpointing logic

* small nits
2022-04-20 12:06:29 -07: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
Ethan Weber be6fbe799e most code for nerf running 2022-04-19 22:32:10 +00:00
Ethan Weber c2f3c06b6c brainstorming with matt on vanilla nerf implementation 2022-04-19 00:45:30 +00:00
Ethan Weber c85ee76b1f removed build_dataset 2022-04-17 16:45:38 +00:00
Ethan Weber e5bc28c4fb Merge branch 'master' into eng/distributed_training 2022-04-17 09:40:30 -07:00
Ethan Weber e38040ee4d Image dataset implemented and ray generation working. (#23)
* working data loader code

* adding gitignore

* fixing linting errors

* set black line length in settings file

* update

* fixed filepath

* black format

* tqdm
2022-04-17 09:26:44 -07:00
evonneng 563dba0bad lint 2022-04-16 01:25:55 +00:00
evonneng b8e2713643 Changed Graph to nn.ModuleDict; Added DDP logic to seup_graph; locallyrunning DDP 2022-04-15 23:35:00 +00:00
evonneng 62d4218421 updated logic within Trainer class to allow for multiprocess training 2022-04-15 21:53:35 +00:00
evonneng ac3e7515ef done adding main logic in run_train_nerf to initialize processes with more robust handling of DDP 2022-04-15 21:33:50 +00:00
evonneng 7dc9d445b2 added basic distributed logic for trainer 2022-04-15 01:04:17 +00:00
Ethan Weber 0b7dfcdc5d Initial ray generation and dataset code (#12)
* ray generator and cameras structure progress

* test renames

* added pass

* conflicts

* fixing some black errors

* reformated files

* merged master and .gitignore

* fixing linting

* removing old folder

* removed return False

* pylint fixes

* update

* updates

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update
2022-04-12 15:08:16 -07:00
Matt Tancik c2a851ed92 Fix linting errors throughout repo 2022-04-11 17:04:08 -07:00
Ethan Weber 91f57726ae some initial module structuring 2022-04-08 17:01:47 +00:00
Ethan Weber 5691d00d42 fixed most linting errors 2022-04-07 20:22:48 +00:00
Ethan Weber a7167f890e brainstorming trainer code but broken 2022-04-06 22:45:53 +00:00
Ethan Weber a9c0d5b97f hydra config and starting trainer class 2022-04-06 16:46:47 +00:00
Matt Tancik 394fe5d7a8 add some base files 2022-04-05 13:48:00 -07:00