Commit Graph
1200 Commits
Author SHA1 Message Date
Rohan Mathur fef6b861be Camera path (#1251)
* added eta to base config

* added code to save camera paths to dated name in data folder

* updated camera path name customization

* removed unnecessary comments

* added new version to viewer package.json

* more clean up and also I left a print statement in

* fixed validation message
2023-01-19 14:41:05 -08:00
machenmusik 7466788b2e downsample all images (#1259)
CottageMiniature sample dataset was only downsampling first image correctly prior to this fix.
2023-01-19 13:02:43 -05:00
LSong b170e175ed NeRFPlayer sliding window implementation (#1255)
* NeRFPlayer sliding window implementation

* add comments
2023-01-18 18:57:55 -08:00
machenmusik a4b023b171 Rollback cryptography to fully working version (pre-39; 38 works) (#1254) 2023-01-18 15:20:03 -08:00
Terrance Wang 0846e45fe1 setting tensorf default from wandb to viewer (#1250) 2023-01-18 10:01:10 -08:00
Matthew Tancik 628e4fe1a6 Bump nerfacc to 0.3.3 (#1249) 2023-01-17 17:46:28 -08:00
Matthew Tancik ea45c15e01 Update transform.json docs (#1246)
Update transoform.json docs
2023-01-17 10:53:22 -08:00
machenmusik f350650f1b create video writer later, to adapt to render image's width and height (fixes #1242) (#1245)
* create video writer later, to adapt to render image's width and height

* fix rendering with multiple output names
2023-01-17 09:40:26 -08:00
Mason McGough 92636c3434 Docs fix (#1244)
* Add the following fixes to documentation:

* Fix trailing backslash in “Use docker image” section
* Replace escaped backslash with double-escaped backslash (see Sphinx issue: https://github.com/sphinx-doc/sphinx/issues/6730)
* Close backtick in `contributing.md`
* Add “run” to instructions for “Render Video”
* Remove unnecessary “,” in “Render Video”
* Correct “before preceding” to “before proceeding”
* Correct “viewpoinrts” to “viewpoints”
* Add missing “.” in “Process data”
* Specify “bash” for code blocks (for consistency with other blocks in the page)
* Fix code block in `viewer_quickstart.rst` (”Copy to clipboard” widget now works)
* Fix some code formatting issues in `export_geometry.md`

* Correct "harmoincs" to "harmonics" in docs.
2023-01-17 09:28:20 -08:00
Matthew Tancik 2082d6bcaf Loosen dependencies (#1240)
* remove protobuf pinned version requirement

* Loosen dependencies

* Protobuf can't be too new
2023-01-16 17:00:05 -08:00
dependabot[bot] 0fe155923b Bump json5 from 1.0.1 to 1.0.2 in /nerfstudio/viewer/app (#1238)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 15:53:38 -08:00
Matthew Tancik b88747dd20 v0.1.15 (#1237) v0.1.15 2023-01-16 15:37:44 -08:00
Matthew Tancik 5b50740f45 Add cropping options to data processing (#1236) 2023-01-16 15:34:20 -08:00
hturkiandMatthew Tancik bd1060ee83 save image_coords as non-persistent buffer (#1216)
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-01-16 15:21:44 -08:00
Matthew Tancik 23ca7a7cc8 Non-strict loading of checkpoints (#1235) 2023-01-16 15:12:59 -08:00
Mason McGoughandMatthew Tancik f0b4f5b35e Update Quickstart instructions to remove '--dataset' (#1222) (#1230)
Update quickstart instructions to remove '--dataset' (#1222)

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-01-16 14:56:13 -08:00
JamesPerlman e575f128d7 Update incorrect comment (#1226) 2023-01-16 12:42:22 -08:00
matsurenandMatthew Tancik 408ab709ec Fix typo (#1231)
* Fix typo COLAMP->COLMAP

* Fix more typo

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-01-16 12:12:55 -08:00
Matthew Tancik 53c23ba356 Add mask conventions to docs (#1234) 2023-01-16 12:00:44 -08:00
Matthew Tancik 03af0803ca zqm linting (#1233) 2023-01-16 11:24:16 -08:00
Matthew Tancik 34b453a288 Update README.md 2023-01-16 10:25:10 -08:00
86d8118b6d fix notebook, box drawing (#1202)
* fix notebook

* samples

* run all cells

* box center

* try saving again

* import order

* cube with different sides

* black

* black

* update metadata

* fix test

Co-authored-by: Katrin Schmid <kabischmid@gmail.com>
Co-authored-by: Matt Tancik <tancik@berkeley.edu>
2023-01-06 20:22:55 -08:00
Rohan Mathur 99ab8bd669 Added ETA to base config for the event writer (#1203)
added eta to base config
2023-01-03 21:26:09 -08:00
Liam SchoneveldandLiam Schoneveld 31be97d59c Render cameras with render times for dynamic nerfs (#1199)
* Render cameras with render times for dynamic nerfs

* Add --dynamic flag to cmd. Clamp render times.

* Fix for issues with clamping renderTime

* Only add render_time to camera path if dynamic nerf

* change DEFAULT_TIME to DEFAULT_RENDER_TIME

Co-authored-by: Liam Schoneveld <liam.schoneveld@woven-planet.global>
2023-01-03 21:23:20 -08:00
Rajendra Singh 102c00a9be Added missing arg to ns-download-data command (#1201)
Correct ns-download-data command

`ns-download-data nerfstudio --capture-name=vegetation` will give error:

```
usage: ns-download-data [-h] --dataset {blender,friends,nerfstudio,record3d}
                        [--capture-name {None,bww_entrance,campanile,desolation,dozer,library,poster,redwoods2,sf_street,storefront,vegetation}] [--save-dir PATH]

 
ns-download-data: error: the following arguments are required: --dataset
```
Thus adding `--dataset` to the command.
2023-01-03 09:01:46 -08:00
Michal Pandy 3da877050d Depth supervision for Nerfacto (#1173)
* Implement depth supervision

* Fixes

* Change normalize dtype

* refactor

* Change depth weight

* Small refactor

* Change docstring

* Removu unused import

* Add assumption to depth comment

* Implement URF loss

* Remove default depth loss type param

* URF fixes

* Fix depth loss scale

* Visualize gt depths

* Fixes & documentation

* Documentation and formatting

* Fix formatting problems

* Fix linter problems

* Fix tests

* Fix tests
2023-01-02 10:13:38 +01:00
dozeri83 fa6f279751 fixed an exception bug in case of num_samples is 0 (#1198)
fixed an exception bug when num samples is 0 , 
"IndexError tensors used as indices must be long, byte or bool tensors"

change type to long ( was float32)
2023-01-01 17:14:55 -07:00
Dreek Fire 5710b09b6d Add hashmap size and num_levels to instant_ngp_field, issue 1158 (#1196)
add hashmap size and num_levels to instant_ngp_field, issue 1158
2022-12-31 23:30:27 -08:00
Rohan Mathur 77a3e65b15 Making camera selection on viewer persistent (#1192)
Set camera view button to move the slider to the camera's position so the selection is persistent
2022-12-31 22:40:49 -07:00
Martin Piala a5eea5f14d Camera export (#1191)
* implement the camera exporter

* remove train_dataset from exporter

* fix linter errors

* add docstring

* correct comment

* fix linter errors

* make image_filenames a property of the dataset
2022-12-31 22:38:43 -07:00
Ethan Weber 642a9e00f0 Quick fix for mask None check (#1193)
quick fix
2022-12-31 19:29:26 -07:00
Ruilong Li(李瑞龙) 028df82be6 upgrade nerfacc to 0.3.x with CUB accel (#1187) 2022-12-31 07:28:11 +08:00
Ikko Ashimine e01f5caa53 Fix typo in mlp.py (#1185)
Ouput -> Output
2022-12-29 10:17:08 -07:00
Matthew Tancik 8879373901 Created using Colaboratory (#1183) 2022-12-28 10:05:54 -07: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
Alexander Kristoffersen b1dfd28cb6 Qt5 hotfix, should fix ns-export (#1181)
* Created using Colaboratory

* Created using Colaboratory

* Created using Colaboratory
2022-12-27 17:03:26 -07:00
Matthew Tancik 0d6117d32c Force 8 bit output from ffmpeg (#1180)
Output 8 bit from ffmpeg video-> image conversion
2022-12-27 11:10:08 -07:00
Brent Yi 5495a8e146 Type and docs fixes (#1170) 2022-12-26 09:04:24 -07:00
Matthew Tancik b375727f7e Update docstrings (#1165) 2022-12-23 14:20:48 -07:00
Matthew Tancik 4a27e5e929 Fix downscaling and type errors (#1164) 2022-12-23 14:07:07 -07:00
Alexander Kristoffersen fd33a1e950 PixelSampler refactor (#1163)
* moved collate methods as class methods, so sampling is only thing changed.

* disable pylint error, expected to be overrided.

* update.

* more pylint.

* final lint.

* cleanup, mask fix.
2022-12-23 00:49:28 -08:00
Matthias Blaicher 06642a5871 Support grayscale-only images in dataset (#1142)
* Support grayscale-only images in dataset

* lint
2022-12-22 11:16:03 -07:00
JamesPerlman 7fe4a77b96 fix typo: "dictioary" -> "dictionary" (#1162) 2022-12-22 11:00:47 -07:00
Matthew Tancik 335c5c3661 Fix dynamic batch logic during inference (#1160) 2022-12-21 22:50:05 -07:00
machenmusikandMatthew Tancik 8d4a82ef0b work around mismatch to allow rgb depth side-by-side output (#1156)
* use max resolution when not moving or training

* work around mismatch to allow rgb depth side-by-side output

* Update render.py

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2022-12-21 22:13:20 -05:00
machenmusik 0e1ea37308 when camera_type is equirectangular, add spherical metadata to rendered video (#1151)
* when camera_type is equirectangular, add spherical metadata to rendered video

* remove unnecessary CONSOLE.print

* refactor to make pylint happier

* get os.stat size properly; document camera_type argument

* write video on the fly to avoid holding all images in memory

Note: video render width and height were unspecified for spiral trajectory; this uses values for Nerfacto

* fix images output

* doc fix
2022-12-21 00:32:42 -05:00
Nicolas ZunhammerandNicolas Zunhammer 4a513825c4 [Fix] point cloud export broken in Dockerfile (#1148)
* Added Dockerfile to build docker image including all dependencies and nerfstudio, added description on how to user docker.

* Move docker description to Installation.md.

* Fix mask_filename indices after splitting train set.

* Rebase DOckerfile to newer image for updated libraries.

* Update docker container documentation.

Co-authored-by: Nicolas Zunhammer <n.zunhammer@tum.de>
2022-12-20 09:02:31 -08:00
Matthew Tancik af5953e2a8 v0.1.14 (#1145) v0.1.14 2022-12-18 13:15:28 -08:00
Martin Piala 09e1008069 Fix Discord link in the docs (#1143)
fix discord link
2022-12-18 10:48:49 -08:00
Matthew Tancik c338de4aa4 Support non-pinhole rendering (#1141) 2022-12-18 10:46:39 -08:00