Commit Graph
49 Commits
Author SHA1 Message Date
Sacha Lewin 8e4ae6bebf Allow use of black or white background in Nerfacto models (#1441)
* Allow black/white background color in Nerfacto

* Use white background in Nerfacto Blender Benchmark

* Fixed unused import

* Updated index for license headers script
2023-02-17 20:39:10 -08:00
Jake Austin 3ffee522e0 TrainerConfig inherit from InstantiateConfig (#1175)
Making TrainerConfig an InstantiateConfig so it can be swapped in and out with different methods. Also made the TrainerConfig a subclass of ExperimentConfig (which was changed from a printableconfig to an instantiateconfig), since we were already instantiating the Trainer class with the ExperimentConfig

Removed the "config" field from the TrainerCallbackAttributes struct to eliminate circular dependencies when types are checked.

Minor scripts and docs changes to accommodate the update to the config struct, meaning the flags that were associated with the TrainerConfig were moved up to the top level of the config.
2022-12-27 18:19:34 -10:00
dozeri83anddror 96f269cc1a instant-ngp-bounded model (#1116)
* inerted a new model configuration instant-ngp-bounded

* added more remarks and small fixes

* went back to old near plane

* added the oprtion to get a file as well as directory in nerfstudio data parser

* pretify prev commit

* review fixes

* more clear explanation in README.md

* reverted readme changes

* fixed merge bug

* review changes. update config.data docs support for json files inputs

Co-authored-by: dror <you@example.com>
2022-12-13 13:05:48 -08:00
Frédéric Devernay 8fc7950719 Fix benchmarking scripts (#1005)
* launch_eval_blender.sh: fix script

- add shebang
- add -s option to launch a single job per GPU
- last GPU was ignored
- kill all subprocesses when script is terminated

* launch_train_blender.sh: fix script

- add -s option to launch a single job per GPU
- add -v option to use tensorboard instead of wandb
- set nerfacto options according to https://github.com/nerfstudio-project/nerfstudio/issues/806#issuecomment-1284327844
- use a single timestamp for all training jobs
- last GPU was ignored
- kill all subprocesses when script is terminated
- print the eval script command-line

* launch_eval_blender.sh: fix script

* Update benchmarking.md

* launch_train_blender.sh: add -s to eval command-line

* Update launch_train_blender.sh

* Update benchmarking.md
2022-11-28 13:25:14 -08:00
evonneng af58b32cc8 restructuring debugging tools doc (#647)
* not done; restrucutre debugging part;

* 1) fixed all developer guides 2) fixed first_nerf error 3) moved run_actions

* removed md
2022-10-04 09:43:11 -07:00
evonneng 2de5afae0c updated benchmark scripts (#639) 2022-10-03 21:42:31 -07:00
Matthew Tancik 1f83ad03db Rename to nerfstudio (#589) 2022-09-29 23:42:15 -07:00
Ethan Weber cf34ef4bd0 rename files and add project scripts (#566)
* scripts

* b

* fix file
2022-09-27 15:02:55 -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
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
Brent Yi fe5f46c0aa Config suggestions (#300)
* Config suggestions

* Add some TODO notes
2022-08-29 17:07:33 -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
evonneng efd5d39652 updating scripts; compatible with pipeline refactor (#278) 2022-08-15 13:26:37 -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 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
Ruilong Li(李瑞龙) 31c813e0df fix so that benchmarking load the latest experiment (#220) 2022-07-27 15:56:24 -07:00
Ruilong Li(李瑞龙) 1cd697366e sorting imports on save; cleanup imports sorting; add isort check (#207) 2022-07-26 14:35:38 -07:00
evonneng 899d990387 lint 2022-07-25 21:28:29 +00:00
evonneng d09d22ea5e Merge branch 'master' of github.com:pyradiance/radiance 2022-07-25 21:22:43 +00:00
evonneng 24ab477b45 fixed dataset loading in benchmark 2022-07-25 21:22:29 +00:00
Matthew Tancik 6dc704c551 Rename repo to nerfactory (#204)
* Rename to nerfactory

* Fix missing files
2022-07-25 13:52:20 -07:00
Ethan Weber 6cfccab336 fixing eval dataloader indices issue (#196)
* added some logic for the indices when none

* forgot to comment out code

* fix linting

* fixed typing
2022-07-22 16:29:14 -07:00
Ethan Weber 05b92e228b Fixing nerfw and adding to GH Actions (#167)
* added beta_min to nerfw, which I think is needed

* added camera interpolation path and restructured run_eval code

* adding to gitignore

* addressing github comments. mostly documentation

* fixing nerfw dataset for test cases
2022-07-19 16:21:54 -07:00
evonneng b725d5dafa removed viewer from benchmarking 2022-07-19 01:29:09 +00: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
Matthew Tancik e0fb77bf1a Tancik/lint and format scripts (#140)
* Lint and formatter to include scripts folder
2022-07-14 11:12:23 -07:00
Ethan Weber 4ddd146633 Improving eval script with camera trajectory videos (#124)
* spiral traj working, specify version for hydra, better documentation

* cleaned up spiral trajectory a bit
2022-07-13 10:58:01 -07:00
evonneng 39b67e6fe9 update benchmarking; add clip to mipnerf lpips 2022-07-07 18:59:23 +00: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 b2648c6522 updated benchmarking to match new config 2022-06-14 00:15:05 +00:00
evonneng bed39763a1 updated benchmarking script (#32) 2022-06-08 17:39:15 -07:00
Ethan Weber 457788d689 dataloader logic, new folder structure, flatter configs (#26)
* renaming dataloader to data. adding some dataloader classes

* restructuring configs

* fixed instant ngp tcnn direction rescaling

* working through test cases

* black and lint and tests
2022-06-08 09:01:56 -07:00
Matt Tancik 1a8ad9a763 Change name to pyrad 2022-05-31 14:15:06 -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
Matt Tancik b26408eb7a Adios mattport 2022-05-30 09:24:12 -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 1f719b49c0 Merge branch 'master' of github.com:ethanweber/mattport 2022-05-18 22:33:13 +00:00
evonneng c19deabc2e benchmarking details; todo: might need to move this out 2022-05-18 22:33:06 +00: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
evonneng 6a70eaa40a fixed up benchmarking test script more versatile 2022-05-12 17:32:53 +00:00
evonneng fda2d448c4 done adding test benchmark script 2022-05-12 00:45:20 +00:00
evonneng a15185ea47 fixed train iteration to much longer 2022-05-11 19:22:20 +00:00
evonneng 58cdcc2b41 update model saving 2022-05-11 18:27:42 +00:00
evonneng 9671ec3c33 update readme 2022-05-11 17:59:35 +00:00