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

1180 Commits

Author SHA1 Message Date
Matthew Tancik
34b453a288
Update README.md 2023-01-16 10:25:10 -08:00
lightfield botanist
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 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
machenmusik
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 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) 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
Alexander Kristoffersen
cc38d48294
Upgraded Gdown to fix data downloading. (#1140)
upgraded gdown to fix some data downloads.
2022-12-16 12:42:45 -08:00
Nikhil Mohan
29df594334
Minimal disk dataparser (#1128)
* wip

* merge upstream

* clkeanup

* cleanup

* cleanup

* cleanup

* more cleanup

* cleanup

* cleanup docs

* lint

* style fix
2022-12-16 20:16:20 +00:00
Ethan Weber
3bf490e845
adding data subset (#1135)
* adding nerfstudio-dataset

* removed file
2022-12-15 17:29:41 -08:00
Matthew Tancik
67cd746de3
Update Render View logic (#1134) 2022-12-15 16:14:13 -08:00
Matthew Tancik
3da0ca727d
Update render ui to use leva (#1133) 2022-12-15 14:18:23 -08:00
Penn
bc690632bb
Use torch.where for faster contract (#1132)
use where for faster contract
2022-12-15 13:24:31 -08:00
Matthew Tancik
d51718ec2b
Immediately update viewer when output or cmap changes (#1131)
* Immediately update viewer when output or cmap changes

* lint
2022-12-14 16:26:05 -08:00
Alexander Kristoffersen
5630148c50
Changed tinycudann to wheel to work with py3.8 (#1126)
Created using Colaboratory
2022-12-13 23:04:17 -08:00
Matthew Tancik
6f85d7118f
Add docs for KIRI Engine (#1124)
Add docs for KIRI engine
2022-12-13 18:37:31 -08:00
Matthew Tancik
a0a3def162
Fix datamanager dataparser_outputs (#1123)
* Fix datamanager dataparser_outputs

* Cast to float
2022-12-13 13:53:09 -08:00
Matthew Tancik
c8daa1a1d7
Missing images error warning (#1122) 2022-12-13 13:24:22 -08:00
dozeri83
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
Matthew Tancik
21e0ec6cd8
Log start iter (#1119)
log start iter
2022-12-13 12:50:12 -08:00
Terrance Wang
008cc8f144
change normals grad calculation (#1108)
* change normals grad calculation

* changing normal calc
2022-12-13 12:39:41 -08:00
Tao
1a70665e76
Fix slow training issue when using mask (#1114) 2022-12-13 10:16:34 -08:00
Nikhil Mohan
98f13cbed4
Fix circular imports (#1115)
* wip

* remove bad changes

* update dmeo

* cleanup

* change name

* cleanup
2022-12-13 10:09:31 -08:00
Alexander Kristoffersen
986f3a565d
Colab working with Python3.8 (#1109)
changed away from the wheel, couldn't get it to work
2022-12-12 11:47:09 -08:00
Matthew Tancik
910e7bfb05
v0.1.13 (#1107) 2022-12-11 13:05:03 -08:00
Matthew Tancik
676f816156
Bump max res default (#1106) 2022-12-11 13:03:35 -08:00
Matthew Tancik
b41ce8060a
Save out dataparser transforms (#1105)
* Save out dataparser transforms

* Make missing folder
2022-12-11 13:02:50 -08:00