Commit Graph
1222 Commits
Author SHA1 Message Date
Justin bf0f2e5937 Merge branch 'main' of https://github.com/nerfstudio-project/nerfstudio 2023-01-27 16:45:23 +00:00
Matthew Tancik 7979310def v0.1.16 (#1296) v0.1.16 2023-01-26 19:19:15 -08:00
David McAllisterandMatthew Tancik 2ce08f6363 PIL Dependency (#1197)
Update pyproject.toml

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-01-26 16:36:28 -08:00
dcadbbc8a4 Load path dropdown (#1290)
* started load path options

* deleted random comment

* got the camera paths to all send but it won't render right

* finished first draft of new load path button

* removed unnecessary prints

* fixed minor name warning

* clean up and ui change

* Clean up UI

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
Co-authored-by: Matt Tancik <mattt4001@gmail.com>
2023-01-26 16:08:01 -08:00
Matthew Tancik b5031dd814 Enable rendering with crop (#1295) 2023-01-26 14:22:43 -08:00
heymarcell f0c102ca58 Remove bracket from ffmpeg command's crop filter (#1294)
remove bracket from ffmpeg command's crop filter

Using bracket's in this situation causing syntax errors:
/bin/sh: 1: Syntax error: "(" unexpected
2023-01-26 14:22:14 -08:00
cvachha 2e843eb2df Updated Blender add-on for calculating duration (#1288)
Updated Blender on calculating duration

Updated how the Blender add on calculates duration with frame steps and added the case when frame step size is 0.
2023-01-25 18:05:31 -08:00
Matthew Tancik 90489b5a6d Allow users to modify background color when cropping (#1289) 2023-01-25 17:47:45 -08:00
Dmytro KorolovandDmytro Korolov 80ae933811 Fix the issue with missing images in the Reality Capture data. (#1285)
* Fix issue with missing images in Reality Capture data

* remove comment

Co-authored-by: Dmytro Korolov <dmytro.korolov@gmail.com>
2023-01-25 17:47:15 -08:00
ManuConcepBrito 828d6bc893 Depth data loading for Polycam LiDAR data (#1253)
* Add depth data loading for polycam datasets

* misc: missing arguments in process_data_utils.downscale_images

* Move processing to polycam_utils

* delete unused imports

* process_data_utils: patch for frame%05d issue

* accidentally deleted neighbor flag from ffmpeg

* wrong ffmpeg command

* upscale directly

* redundant comment

* remove unused imports

* black formatting
2023-01-24 14:45:13 -08:00
William Shen bc65639edf Fix total train time metric logging (#1284) 2023-01-24 13:28:00 -08:00
Justin Kerr c8fdc1a7cb Increase max_res of first proposal network (#1282) 2023-01-24 13:23:37 -08:00
Justin b95daadf6f Increase max_res of first proposal network 2023-01-24 17:19:48 +00:00
LSong 9a4f5e8e45 DyCheck dataset parser (#1270)
* DyCheck dataset parser

* fix lint
2023-01-23 13:59:28 -08:00
Mason McGough 3b8e2ce9ec Add step argument in eval_utils.py to fix rendering bug. (#1272) 2023-01-20 16:11:10 -08:00
Matthew Tancik 3be43ee080 refactor control panel (#1267) 2023-01-20 14:55:57 -08:00
matsurenandMatthew Tancik 87322113a9 Bug fix for loading cameras with different distortions in nerfstudio_dataparser (#1268)
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-01-20 14:55:40 -08:00
Terrance Wang 73bffe058f Fix tensorf chkpt loading (#1266)
* setting tensorf default from wandb to viewer

* adding functionality to adjust model depending on the step of the checkpoint that is loaded

* cleaning code

* bug fix

* fixing style
2023-01-20 12:00:51 -08:00
cvachha 9eb880aa91 Blender addon script and documentation (#1218)
* Blender addon script and documentation

First version of blender addon python script located in scripts/blender and new documentation for the addon. The Blender addon is for importing or exporting a camera path for visual effects and compositing.

* Updated formatting of Blender script

Updated the formatting based on the script tests for the blender addon script.

* Updated Blender addon to fix FOV and alignment

Updated how FOV is calculated for both blender cam to json and json to blender cam. The FOV is calculated based on the aspect ratio, angle of view, and sensor fit and size.

* Updated Blender addon documentation with examples

Updated the Blender add-on documentation with a few example gif composite animations

* Updated Blender addon to match frame rate and fixed formatting

Updated the Blender add-on script and docs to match the Blender frame rate. Also the formatting should be fixed. There are also now error message popups instead of console prints for invalid input in the add-on.

* Updated the blender addon for formatting

Updated pylint formatting and comments
2023-01-19 22:31:07 -08:00
Matthew Tancik af41819611 Add support for RealityCapture (#1055)
* Add support for RealityCapture

* Fix coordinate bug

* Remove transform

* Update focal lengths

* isort
2023-01-19 20:50:02 -08:00
machenmusik b1da94c9e6 use -noautorotate option to avoid discrepancies (fixes #1260) (#1261)
use -noautorotate option to avoid discrepancies
2023-01-19 20:54:41 -05:00
2120bd5dd9 CropBox GUI implementation (#1205)
* fixed an exception bug in case of num_samples is 0

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)

* implemented crop box in gui. For now works on instant-ngp-bounded

* fixed import bugs

* update aabb every time and not only on training

* prevent crash when chosing accomulation and crop box

* Checkbox

* max_box is bounded by scevne box in the gui

* implemented altenative intesection to nerfacc

* convert str to bool correctly

* fixed isort bug

* fixed isort bug2

* update viewer version

* remove json bug

* Update UI

* Force black background

* Fix formatting

Co-authored-by: dror <you@example.com>
Co-authored-by: Matt Tancik <tancik@berkeley.edu>
Co-authored-by: Matthew Tancik <mattt4001@gmail.com>
2023-01-19 17:39:37 -08:00
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