Commit Graph
82 Commits
Author SHA1 Message Date
Jake Austin 482f7c9eea Fixing documentation, moving IterableWrapper to pyrad/utils/misc, sorting imports 2022-07-18 17:26:34 -07:00
Jake Austin 0422afc913 adding docstring for abstractcacheddataloaderv2 2022-07-17 23:05:06 -07:00
Jake Austin 667de0b758 Subclassed abstract cached dataloader, for things like generic NeRFs where data fits in memory 2022-07-17 23:01:42 -07:00
Jake Austin f5a354fdb0 Patching up some mistakes, linting 2022-07-17 22:48:46 -07:00
Jake Austin cff55d7836 Fixing nitpicks, clarifying documentation, updating dataloader params 2022-07-17 22:42:35 -07:00
Jake Austin 7e23747c41 Forgot to import nn.Module 2022-07-17 19:24:01 -07:00
Jake Austin 1ef976d177 GenericDataContainer and AbstractDataloaderV2 2022-07-17 18:29:25 -07:00
Matthew Tancik ab35e28871 Cache full dataset by default (#157)
Cache full dataset by default
2022-07-15 17:52:15 -07:00
Ethan Weber d52c11c04c using prettier for more files. also, client app is built on merge to master (#141) 2022-07-14 11:33:56 -07:00
tancik 0b246d6978 Prettified Code! 2022-07-14 16:58:09 +00:00
Brent Yi c5eecaec8d Bump instant-ngp optimizer eps for numerical stability (#134)
* bump optimizer eps to 1e-7 for instant-ngp

* instant-ngp optimizer eps: 1e-7 -> 1e-4
2022-07-13 23:44:45 -07:00
Matt Tancik c35bf43255 Switch to orbit controls 2022-07-13 16:57:46 -07:00
Ruilong Li(李瑞龙) 670a19f4ec Merge pull request #130 from plenoptix/fix_axis_dim
fix axis arg to dim for pytorch funcs
2022-07-13 15:02:52 -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
Ruilong Li 1f38240212 fix axis arg to dim for pytorch funcs 2022-07-13 20:31:38 +00: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
Matt Tancik 7cda0158c7 Fix out of bounds index bug 2022-07-13 10:13:31 -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
Matthew Tancik 9efcfad4f3 Add extra checks for license (#120)
Add extra checks for license
2022-07-12 16:49:04 -07:00
Matthew Tancik 4abfc0f002 Update documentation (#119)
Update spatial visualization to used shared ploty code
2022-07-12 16:04:22 -07:00
Ruilong Li(李瑞龙) 87cc10ad40 Merge pull request #116 from plenoptix/ngp-accel
speedup PDFSampler impl.
2022-07-12 00:34:22 -07:00
Ruilong Li 454556c061 update ray_sampler: remove old code and fix lint 2022-07-12 07:12:40 +00:00
Ruilong Li b99c19d4a8 speedup PDFSampler impl. 2022-07-12 06:25:55 +00:00
Matt Tancik 803b81fa1d Add sample visualizations 2022-07-11 23:02:20 -07:00
evonneng efa40993e0 small fix silencing exception on camera change (#112) 2022-07-11 16:07:52 -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
Brent Yi dd41eb3e34 Truncated exponential for fixing NaN in instant-ngp (#104)
* replace ngp softplus with exponential, fixes #11

* resolve pylint errors
2022-07-07 23:32:04 -07:00
Brent Yi 14d030ff6f Various minor fixes for typos and types (#105)
* minor fixes for typos and types

* run isort
2022-07-07 23:31:56 -07:00
Matthew Tancik 74280110ce Remove redundant data (#103)
RaySamples contained fields for bin_starts and bin_ends. These are also stored in the frustums. This PR removes them from the RaySamples.
2022-07-07 18:07:34 -07:00
evonneng be45d5c9bb moved logic for interrupting rendering to visutils (#102) 2022-07-07 17:56:22 -07:00
evonneng e837f8dbef Merge branch 'master' of github.com:pyradiance/radiance 2022-07-07 23:38:48 +00:00
evonneng b04cbdf380 debugged logic to make change camera interrupt faster 2022-07-07 23:38:42 +00:00
Ethan Weber 74ec84117e cleaning up viewer code (#101) 2022-07-07 16:00:30 -07:00
Matt Tancik b40ec1e863 Add missing inits 2022-07-07 12:10:56 -07:00
evonneng 31345faed5 clipping images before running metrics 2022-07-07 19:06:37 +00:00
evonneng d0d2fbe4a0 Merge branch 'master' of github.com:pyradiance/radiance 2022-07-07 18:59:57 +00:00
evonneng 39b67e6fe9 update benchmarking; add clip to mipnerf lpips 2022-07-07 18:59:23 +00:00
Matt Tancik 0734dfc63c Add extra dim to bins 2022-07-07 10:34:27 -07:00
Ethan Weber 44c5e3264c Documenting viewer and faster image sending (#86)
* updated three.js version. only send camera information when it moves

* changing code back to updating camera constantly because packets seem to be lost

* name change

* starting viewer docs

* new workflow

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* homepage

* homepage

* / to ?

* more documentation

* fixed none error

* instant ngp fix

* faster image sending over tcp. instant ngp bin fix. lowest res when moving

* black

* requirements
2022-07-07 00:03:45 -07:00
Matthew Tancik d0f0f8da2d Add interval loss (#92)
Implement interval loss that was proposed in mipnerf-360.
2022-07-06 17:27:19 -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
Ethan Weberandevonneng 56661b5d9a Viewer Dynamic Resolution Scaling (DRS) (#87)
* 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

Co-authored-by: evonneng <evonne_ng@berkeley.edu>
2022-07-06 15:47:08 -07:00
Matt Tancik bd78a68756 Update RaySamples to TensorDataclass 2022-07-06 12:01:09 -07:00
Matthew Tancik 59957fa202 Use tensordataclasses (#85)
+ Convert Frustum and RayBundle into TensorDataclasses.
+ Support TensorDataclass fields in TensorDataclasses
+ Support non batched types in TensorDataclass (The are iignored)
2022-07-05 18:32:43 -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
Ethan Weberandevonneng bf13ed3cf3 Integrating WebRTC into viewer (#73)
* restructuring for webrtc integration

* some webrtc code but not working

* webrtc connects when muted

* the flag is real!

* updating camera in websocket bridge. moved webrtc to existing websocket connection instead of http request. need to change video track

* rudimentary adding real-time imaging

* added free TURN server so code works everywhere

* slow rendering works during training with the viewer

* fix tensor device and update default model save dir

* forgot to include trainer updates

* removing some code that isn't needed

* quick fix to bins. not the most accurate however

* cleaned up code and added some config logic

* black

* adding license

Co-authored-by: evonneng <evonne_ng@berkeley.edu>
2022-07-05 14:52:49 -07:00
Ethan Weber e507c97e3e instant ngp fix (#80) 2022-07-05 14:36:35 -07:00
Matt Tancik ced02a00be Fix SSIM memory leak 2022-07-05 12:04:23 -07:00
Ethan Weber fefbad2592 Fixed frustum device and updated model checkpoint defaults (#78)
* fix tensor device and update default model save dir

* removed viewer reference
2022-07-04 17:22:39 -07:00
Matt Tancik 711f69fe24 Add TensorDataclass 2022-07-04 16:19:48 -07:00