Commit Graph
45 Commits
Author SHA1 Message Date
evonneng efd5d39652 updating scripts; compatible with pipeline refactor (#278) 2022-08-15 13:26:37 -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 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
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
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
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
Matt Tancik fc1ba5e630 Use reduce 2022-08-01 17:19:51 -07:00
Matthew Tancik 3abc586427 Remove some type ignores (#238) 2022-08-01 15:01:39 -07:00
Matthew Tancik 30c58a9393 Update encodings (#237) 2022-08-01 09:59:42 -07:00
Matt Tancik 5330199ee5 Remove unnecissary file 2022-08-01 09:33:05 -07:00
Matthew Tancik e35781fe85 Code cleanup (#234) 2022-07-31 18:22:57 -07:00
Matthew Tancik 8b414bafab Update logger bug (#233)
Minor fix
2022-07-31 17:56:20 -07:00
Matthew Tancik 6c45f72c57 Typecheck workspace (#231) 2022-07-30 15:38:08 -07:00
Matthew Tancik 58212543f5 Fix typing errors (#229) 2022-07-29 14:17:38 -07:00
Matthew Tancik a957e8c501 Move datasets to classes (#227) 2022-07-28 18:41:39 -07: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
Matthew Tancik 44a7fa288c Stricter typing, update docstrings (#226) 2022-07-28 11:36:43 -07:00
Matthew Tancik 395b03f48c Add boolean visualization (#225) 2022-07-28 10:50:56 -07:00
Matthew Tancik 87df978582 Set up direction mipnerf 360 data (#224)
* Set up for mip360

* Fix lint
2022-07-27 17:08:12 -07:00
Ruilong Li af176ddf32 fix rgbs sigmas to be contiguous 2022-07-27 22:50:11 +00:00
Ruilong Li(李瑞龙) c27dc26e03 revert to the ray-batched inference (#219) 2022-07-27 15:07:54 -07:00
Ruilong Li(李瑞龙) 966fc50f28 Fix ngp num_rays_per_chunk bug; use enable_density_field to control ngp. (#215) 2022-07-27 13:18:48 -07:00
Ruilong Li(李瑞龙) 3e28a40c44 Speed-up NGP inference by 3x. (#211) 2022-07-27 10:19:19 -07: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
Ruilong Li(李瑞龙) 0777883fb6 make scene collider optional because NGP does not need it (#210) 2022-07-26 19:34:29 -07:00
Ruilong Li(李瑞龙) 31c2c2608d Make DensityGrid plug-and-play for the base Graph and the base Sampler. (#205) 2022-07-26 18:02:18 -07:00
Matthew Tancik 512842938a Fix race condition in viewer (#209) 2022-07-26 17:27:48 -07:00
Matthew Tancik 828365ad30 Update documentation guides (#208) 2022-07-26 16:07:45 -07:00
Ruilong Li(李瑞龙) 1cd697366e sorting imports on save; cleanup imports sorting; add isort check (#207) 2022-07-26 14:35:38 -07:00
Jake Austin c168565cc0 Fixing nerfactory name change import error 2022-07-25 17:21:14 -07:00
Jake Austin 5b7c120bfd Merging with master 2022-07-25 16:58:20 -07:00
Matthew Tancik 6dc704c551 Rename repo to nerfactory (#204)
* Rename to nerfactory

* Fix missing files
2022-07-25 13:52:20 -07:00