Commit Graph
1237 Commits
Author SHA1 Message Date
Matthew Tancik db83068fcd Update optimizer docstrings (#1333) 2023-02-01 15:15:08 -08:00
hturki 48ec36e53f Add support for gradient clipping (#1331)
implement optional gradient clipping
2023-02-01 14:55:07 -08:00
Matthew Tancik 53a830a691 Safe normalize (#1332) 2023-02-01 13:22:32 -08:00
Matthew Tancik e979f89200 Avoid protobuf 3.20.0 (#1330) 2023-02-01 12:21:57 -08:00
Matthew Tancik 567268854b Cleanup aabb intersection logic (#1329) 2023-02-01 12:18:09 -08:00
9966c43811 [Fix] Docker not supporting older CUDA architectures (#1328)
Fix docker not supporting older CUDA architectures.

Co-authored-by: Nicolas Zunhammer <n.zunhammer@tum.de>
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-02-01 21:02:10 +01:00
11e7fa87e0 Add Stable Diffusion helper code (#1320)
* Add stable diffusion

* Add dependencies fix lint

* Update types

* Update comment

* fix comments

---------

Co-authored-by: David McAllister <davidrmc2@gmail.com>
Co-authored-by: Abhik Ahuja <ahujaabhik@berkeley.edu>
2023-02-01 10:29:08 -08:00
machenmusikandChen, Michael f5f424095a Document localhost URL (fixes #1323) (#1324)
Document localhost URL

Co-authored-by: Chen, Michael <Michael_Chen@cable.comcast.com>
2023-01-31 22:27:05 -05:00
machenmusikandChen, Michael edef6d62f6 bump nerfacc to 0.3.4 (#1322)
Co-authored-by: Chen, Michael <Michael_Chen@cable.comcast.com>
2023-01-31 18:52:42 -08:00
Matthew Tancik 79395ecd8d Fix crop robustness (#1321) 2023-01-31 18:25:30 -08:00
Terrance WangandMatthew Tancik f3b3a517e8 adding check if camera_path_dir exists (#1319)
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-01-31 14:02:57 -08:00
LSongandmachenmusik e73692e599 nerfplayer with ngp and nerfacto (#1277)
* nerfplayer with ngp and nerfacto

* update comments

* update cpp extension build

* avoid Windows repeated CUDA compile

---------

Co-authored-by: machenmusik <machenmusik@users.noreply.github.com>
2023-01-31 11:56:28 -08:00
Anson Kao 0e9e26dc7c Explicitly require NVIDIA graphics cards in README (#1313) 2023-01-31 00:10:10 -08:00
Matthew TancikandDavid McAllister 61dc520e17 Add sphere collider (#1310)
Co-authored-by: David McAllister <davidrmc2@gmail.com>
2023-01-30 10:55:13 -08:00
MaroonAmor 91d61162b7 Corrected the order of texture arguments (#1300)
corrected the order of texture arguments
2023-01-29 09:22:10 -08:00
Matthew TancikandAbhik Ahuja 867ed48f30 Tancik/protobuf version req update (#1303)
* Fix normal orientation loss

* Update protobuf req

---------

Co-authored-by: Abhik Ahuja <ahujaabhik@berkeley.edu>
2023-01-29 09:05:07 -08:00
Matthew TancikandAbhik Ahuja 8c41a263b8 Fix normal orientation loss (#1298)
Co-authored-by: Abhik Ahuja <ahujaabhik@berkeley.edu>
2023-01-27 13:56:19 -08: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
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