4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 02:24:38 +08:00
Commit Graph

90 Commits

Author SHA1 Message Date
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
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
Matt Tancik
711f69fe24 Add TensorDataclass 2022-07-04 16:19:48 -07:00
Matt Tancik
5a1c8a1c86 Remove point samples 2022-07-01 09:36:59 -07:00
Matt Tancik
65fe212d17 Add more samplers 2022-06-16 18:27:47 -07:00
Ethan Weber
1e22984d87
Initial viewer (visualizer) code (#52)
* some initial code for viewer. copying from other repos

* adding electron support

* moving some test files around. need to rewrite these

* camera traj. test cases. starting to transmit images

* still working on vis

* reorganized viewer and figured out websocket sending from client. need to do with camera pose

* black

* temporarily ignore pylinting for viewer

* ignore viewer

* fixed array

* license and fixed ignore in pyproject.toml

* improved syntax
2022-06-16 12:11:40 -07:00
Matt Tancik
201f85a175 Update bins 2022-06-10 16:52:34 -07:00
Matt Tancik
cc79708df7 Cleanup mipnerf implementation 2022-06-09 17:26:58 -07:00
Matt Tancik
cc4d3431b8 Add integrated positional encodings 2022-06-08 16:13:41 -07:00
Matt Tancik
f183e03517 Add gausian frustum calculations. 2022-06-08 11:50:42 -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
1b20028ea3 Switch from point samples to frustum samples 2022-06-06 16:43:11 -07:00
evonneng
e8118f0569 merge 2022-06-03 17:51:01 +00:00
evonneng
394b1748ea update readmes 2022-06-03 17:49:27 +00:00
Ethan Weber
146332cfb6
Refactoring (data loading, semantic-nerf/nerf-w fixes, ...) (#8)
* in progress. camera_indices broken

* faster dataloader. starting on pixel sampler logic

* imagesampler and pixelsampler

* lint and black

* continuing merge

* pytest working

* fixed docs

* docs

* minor changes
2022-06-02 14:58:46 -04:00
Matt Tancik
1a8ad9a763 Change name to pyrad 2022-05-31 14:15:06 -07:00
Matt Tancik
eb8434ace9 Update test sensitivity 2022-05-31 10:05:20 -07:00
Matt Tancik
b26408eb7a Adios mattport 2022-05-30 09:24:12 -07:00
Ethan Weber
3226a1c989
CPU usage improvement and minor changes (#108)
* cpu fixes, masking logic but commented out, nerfw and semanticnerf in progress

* pylint
2022-05-26 10:18:08 -04:00
evonneng
e4a878556e removed outdated test configs 2022-05-23 20:49:45 +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
Matt Tancik
a9e6cad0fb Refactor field heads 2022-05-20 15:36:14 -07:00
Matt Tancik
8a6b7c3e46 Refactor ray samples 2022-05-19 18:38:30 -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
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
Matthew Tancik
e78d7af264
Add CP decomposition (#70) 2022-05-11 17:23:25 -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
evonneng
470812fab6
removed erroneous test default config 2022-05-06 21:57:51 -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
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
evonneng
35145cb400 moved test config to own config dir; using default 2022-05-03 06:10:34 +00:00
Matthew Tancik
d1e3f16d7e
Merge pull request #50 from ethanweber/tancik/refactor_weights
Refactor weights
2022-04-29 18:49:36 -07:00
Matt Tancik
aa9a1a903f Fix lint 2022-04-29 18:40:09 -07:00
Matt Tancik
55cf759435 Refactor weights 2022-04-29 18:37:20 -07:00
evonneng
e874e856ec
changed test config file to inherit from default (#49)
* lint

* reconfigured modules in yaml

* added data module

* changed test config file
2022-04-29 16:18:30 -07:00
Matt Tancik
cbc85ef450 Fix test 2022-04-29 15:44:19 -07:00
Ethan Weber
023e6a3f92 merging masters new config 2022-04-29 22:29:43 +00:00
Ethan Weber
387ad93027 merging 2022-04-29 22:10:36 +00:00
evonneng
a93dace958
modularizing hydra config and setting defaults (#46)
* lint

* reconfigured modules in yaml
2022-04-29 14:39:43 -07:00
Ethan Weber
7b118750ec merged master into this 2022-04-29 21:37:10 +00:00
Ethan Weber
6b17ad51c6 cpu support and multi gpu progress 2022-04-29 21:29:13 +00:00