Commit Graph
279 Commits
Author SHA1 Message Date
Jonáš Kulhánek 27b71325ff Add support for is_fisheye flag in ingp transforms.json (#1385) 2023-02-09 17:23:33 -08:00
LSongandLcDog b653eef91c add time (#1391)
* add time

* fix black

---------

Co-authored-by: LcDog <12553253+LcDog@users.noreply.github.com>
2023-02-09 16:43:21 -08:00
NCJ 92cadf5ce4 Fix Multiple Typos (#1376)
fix multiple typos
2023-02-08 10:33:23 -08:00
Yiming Zhou 8c9c2ba2ab Add support for sparse depth maps (#1373)
Add support for sparse depth maps (#2)

* sparse depth maps

* pr comments

* unified loss

* minor

* lint
2023-02-07 16:26:05 -08:00
Jonáš KulhánekandMatthew Tancik 2ff1d3b19e Improve ns-process-data images when using existing COLMAP model (#1371)
* Allow skipping copy+downscale of images in ns-process-data, fix bug when using --skip-colmap on images.bin with non-standard image names

* Rename flags and improve error messages

---------

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-02-07 13:08:14 -08:00
Jonáš Kulhánek 6136745d75 Fix ns-train help (#1370) 2023-02-07 09:49:09 -08:00
Matthew Tancik e749fbcf78 Trace Stable Diffusion (#1362)
* Trace Stable Diffusion

* pylint

Co-authored by Terrance Wang
2023-02-06 18:33:59 -08:00
Jonáš Kulhánek 59f71eda0e Allow methods configs to be discovered from external packages. (#1357)
* Allow method_config to be registered from external packages

* Add license

* Add MethodSpecification class + fix linter errors

---------
2023-02-06 13:25:33 -08:00
machenmusik bf64769128 add viewer.local config property when viewing local instance (#1358)
If running local server instance, avoid using relays to communicate with the viewer.
2023-02-06 15:53:27 -05:00
Francisca T. Gil Uretaandgilureta 2ffe4f9036 Handle uncalibrated Metashape sensor (#1359)
This fix allows loading Metashape XML files which
contain an additional uncalibrated sensor.

Metashape XML format keeps unmatched images but
assignes a dummy sensor to them. The sensor has
no calibration data.

Co-authored-by: gilureta <gilureta@amazon.com>
2023-02-06 10:22:19 -08:00
ManuConcepBrito cddf6a6569 Consistent naming for depth maps in Polycam (#1352) 2023-02-05 11:04:53 -08:00
Matthew Tancik 9f5da51319 Improve viewer colormap choices (#1348) 2023-02-03 23:15:05 -08:00
machenmusik fad5a839aa double-quote filenames in process-data commands so that on Windows, paths with spaces don't fail (#1347)
* double-quote filenames in commands so that on Windows, paths with spaces don't fail

* reformatting by black
2023-02-03 21:01:37 -05: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 567268854b Cleanup aabb intersection logic (#1329) 2023-02-01 12:18:09 -08: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
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
Matthew TancikandDavid McAllister 61dc520e17 Add sphere collider (#1310)
Co-authored-by: David McAllister <davidrmc2@gmail.com>
2023-01-30 10:55:13 -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
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
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
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