Commit Graph
168 Commits
Author SHA1 Message Date
Matt Tancik 4cccc9110d RAdam + background color fix 2022-05-24 11:28:05 -07:00
evonneng 6b9506a779 update pretty printing of time 2022-05-23 20:43:05 +00:00
Ethan Weber 7d8beaaed4 Tiny-cuda-nn and fixed logic for instant-ngp (#102)
* correcting implementation for instant ngp

* instant ngp with tcnn

* black and pylint

* merged master
2022-05-23 12:05:41 -07:00
Matt Tancik d512391df7 Remove CameraRayBundle 2022-05-23 11:09:28 -07:00
evonneng 985560eace callback for optimizer (#99) 2022-05-23 08:57:27 -07:00
Matthew Tancik 9df71ae4f3 Merge pull request #93 from ethanweber/tancik/allow_multiple_nerf_heads
Refactor field heads
2022-05-20 15:41:59 -07:00
Matt Tancik a9e6cad0fb Refactor field heads 2022-05-20 15:36:14 -07:00
evonneng c99f6ab0e8 update logic for logger; moved global variables into localWriter class 2022-05-20 22:24:28 +00:00
Matthew Tancik 08c181cd5e Merge pull request #92 from ethanweber/tancik/fields_refactor
Refactor nerf fields to separate file.
2022-05-20 12:09:30 -07:00
evonneng 58c1d99ba7 rays/s aint no time 2022-05-20 19:04:59 +00:00
Matt Tancik 7772f566fd Merge branch 'master' of github.com:ethanweber/mattport into tancik/fields_refactor 2022-05-20 11:58:57 -07:00
Matt Tancik 9b63adba01 Factor out nerf_field 2022-05-20 11:58:53 -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
Matt Tancik 4350bc78d6 Remove density field 2022-05-20 10:41:19 -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
Matt Tancik 8a6b7c3e46 Refactor ray samples 2022-05-19 18:38:30 -07:00
Matt Tancik 998b98b19a Clean up sampler 2022-05-19 14:17:03 -07:00
Matt Tancik 22fdcfe235 Add occupancy to samplers 2022-05-18 17:45:31 -07:00
Matt Tancik 97cb328468 Refactor occupancy 2022-05-18 14:27:46 -07:00
Ethan Weber fb440fedf3 Occupancy grid (#79)
* occupancy grid in progress

* visualizing occupancy grid. currently restructing field and renderer head outputs

* black and pylint. broke nerfw and semantic nerf but it's okay

* get_project_root
2022-05-17 19:09:25 -07:00
Matt Tancik bc6c6fa62a Add equirectangular camera 2022-05-17 17:54:45 -07:00
Matt Tancik 529d27e00d Add missing file 2022-05-17 11:15:26 -07:00
Matt Tancik 685f620313 refactor logging 2022-05-17 11:06:02 -07:00
Matt Tancik 8ccc98a389 refactor field heads 2022-05-16 18:07:22 -07:00
Ethan Weber 676beebb14 Setting near and far with scene bounds collider. Also LR schedules. (#74)
* some initial cuda code as I learn. using git to save progress.

* first cuda kernel for ray sampling that mostly works

* cleaning up code. working on lr. structs for scene bounds aabb

* added scene bounds collider code

* updated setup

* setup

* setup

* black

* including some files

* exporting env variable

* new file

* git workflows

* github actions

* github actions

* github actions

* removing env var
2022-05-16 14:03:19 -07:00
Matt Tancik 58dd2a7eee lint 2022-05-16 13:36:40 -07:00
Matt Tancik cea1d115d2 Merge branch 'master' of github.com:ethanweber/mattport 2022-05-16 13:33:59 -07:00
Matt Tancik cd6342733b Add spherical harmoincs 2022-05-16 12:27:33 -07:00
Ethan Weber 1c1a58c4e5 nerf-w and semantic-nerf initial implementations (#73)
* initial nerfw code

* nerfw should be implmented correctly now

* semantic nerf in progress. data loader is too slow and not clean right now

* added implementation of semantic nerf

* mend
2022-05-13 17:44:16 -07:00
Matthew Tancik 97c9fe2541 Add tensor CP encoding (#72) 2022-05-12 15:13:19 -07:00
evonneng 8f6c2ff894 nit 2022-05-12 00:52:44 +00:00
evonneng 07fa53d7cc Merge branch 'master' of github.com:ethanweber/mattport into eng/benchmarking 2022-05-12 00:45:35 +00:00
evonneng fda2d448c4 done adding test benchmark script 2022-05-12 00:45:20 +00:00
Matthew Tancik e78d7af264 Add CP decomposition (#70) 2022-05-11 17:23:25 -07:00
evonneng 6a77ca89aa Merge branch 'master' of github.com:ethanweber/mattport 2022-05-11 00:09:42 +00:00
evonneng 98a74c67de update lint error 2022-05-11 00:09:33 +00:00
Matthew Tancik 2ebe34f01d Use torchmetrics (#68) 2022-05-10 17:06:49 -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
Matthew Tancik 29ba6d8abc Add ssim and update typechecks (#66)
* Add ssim and update typechecks

* update requirements

* Fix type error
2022-05-10 11:52:32 -07:00
Matt Tancik 2a56fac89c Fix test 2022-05-10 10:22:17 -07:00
Matt Tancik 8c1e9d7f1a Better align with nerf 2022-05-10 10:18:20 -07:00
Ethan Weber 5fb3d14304 Fixed testing and added graph abstractions (#64)
* abstracted some test logic and actually using test images now

* moved logging from trainer to graph

* fixing dataset path

* refactored instant ngp code to use inheritance

* fixed my run_train

* fixed data path

* fixed data dir
2022-05-09 11:54:40 -07:00
Matt Tancik 0e77c731e2 missing file 2022-05-09 11:16:04 -07:00
Matt Tancik b4e45d6fc0 Improve depth vis 2022-05-09 11:11:00 -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
Matt Tancik cf9c557b7b Add colormaps to logs 2022-05-06 18:07:12 -07:00
Matt Tancik 2268a9152b Add disparity maps 2022-05-05 13:36:25 -07:00
Ethan Weber 0b82c1188c Colmap type of dataset (from "friends" project) (#56)
* code to process the friends data. need to add masking

* code to process the friends data. need to add masking

* black

* trying to fix black

* black fixed

* updating black version
2022-05-05 08:45:30 -07:00
Matt Tancik fe1df97522 Add accumulation 2022-05-04 17:47:58 -07:00
Matt Tancik fba0e93aca Fix typing 2022-05-04 16:12:49 -07:00