Commit Graph
1297 Commits
Author SHA1 Message Date
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
terrance 68e8d3e9ce merging 2023-01-16 18:43:59 +00:00
terrance 49bbd5405d merging 2023-01-16 18:43:24 +00:00
Matthew Tancik 34b453a288 Update README.md 2023-01-16 10:25:10 -08:00
Jake Austin 5a096a6f4c Transmittance loss bug fix 2023-01-07 10:06:52 +00: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
Jake Austin 217b33b984 Removing logs for real this time 2023-01-06 02:08:54 +00:00
Jake Austin 71e860b29c Accidentally pushed logs 2023-01-06 02:03:25 +00:00
Jake Austin 295dc00c22 Small patches and configs 2023-01-06 02:01:21 +00: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
Jake Austin 18df29fe1a First pass opacity / sparsity losses 2023-01-03 22:56:17 +00: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
Jake Austin b9e1410c08 Appeasing the linter 2022-12-31 03:27:57 +00:00
Jake Austin e2b345ed8c Hard coding less, offloading to config 2022-12-31 03:26:08 +00: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 22340b37f3 Updating dreamfusion to use custom trainer, fixed bug, multi-gpu support (put diffusion on one specific device), merged with main 2022-12-28 07:06:15 +00:00
jake-austin 36258b62c1 Merge branch 'main' into generative 2022-12-28 04:35:58 +00: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