Commit Graph
1252 Commits
Author SHA1 Message Date
Justin 0b45c8f994 Merge branch 'main' of https://github.com/nerfstudio-project/nerfstudio into justin/robustnerf 2023-02-03 22:17:23 +00:00
machenmusik 319a2b965c New config parameter --viewer.codec defaults to VP8, but allows H264 (#1343)
* New config parameter --viewer.codec defaults to H264 rather than VP8

* make quantize clearer

* change codec to Literal

default is VP8 due to libx264 log spam, see https://github.com/nerfstudio-project/nerfstudio/pull/1343#issuecomment-1416235500

* isort

* pylint, including python 3.7 compatibility
2023-02-03 13:38:40 -08:00
Matthew Tancik 59d7e99c80 Create shaders (#1344) 2023-02-03 11:21:54 -08:00
Jeffrey Hu a0976d1ff8 Fix depth-supervised nerf when using z-buffer depth. (#1340)
* fix z buffer depth

* remove script
2023-02-02 18:22:55 -08:00
Matthew Tancik 2e79c93cd2 Fix normals visualization (#1341) 2023-02-02 18:06:11 -08:00
cf1794acb1 Add lambertian renderer (#1336)
* add lambertian shading renderer

* adding more functionality

* adding to comments

* optionally detach normals, fixing naming and typing

* Update description

---------

Co-authored-by: Matt Tancik <mattt4001@gmail.com>
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-02-02 13:07:14 -08:00
Matthew Tancik 3ab9352be8 Set min render value for viewer (#1339) 2023-02-02 12:55:03 -08:00
Matthew Tancik ef9e00e614 Check if curl is installed (#1337)
* check if curl is installed

* lint
2023-02-02 10:11:41 -08:00
hturki d547279a92 add option to log training gradients (#1334) 2023-02-02 09:48:45 -08:00
Matthew Tancik 3a416a387b Dont move viewer outputs to cpu (#1335) 2023-02-01 17:33:06 -08:00
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
Justin 8ea6534b7e annealing 2023-01-30 18:03:00 +00: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
Justin efd745af13 initial impl 2023-01-29 03:39:35 +00:00
Justin d2698e0a7a Merge branch 'main' of https://github.com/nerfstudio-project/nerfstudio 2023-01-28 18:50:42 +00: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
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