Commit Graph
1377 Commits
Author SHA1 Message Date
machenmusik 2c79d9fe52 realitycapture: allow periods within filename, not only for file extension (#1649)
allow periods within filename, not only for file extension
2023-03-22 22:03:23 -04:00
Alvin Xu 9b99802042 Check port before loading data (#1633)
* Check port before loading data

* Fix formatting
2023-03-22 14:37:35 -07:00
Matt Tancik 3ec8c06e83 Cleanup 2023-03-22 14:37:05 -07:00
machenmusik 6db1d314cc add quality setting; allow png for lossless compression (#1639)
* add quality setting; allow png for lossless compression

* black reformatting

* JPEG default, 90 quality
2023-03-21 19:04:12 -04:00
James Gardner e7c3edce0e Typo in nerfosr validation set (#1631)
* fix nerfosr validation set

* fix nerfosr validation set

* fix nerfosr validation set

* fix nerfosr function type hints
2023-03-21 15:41:59 -07:00
Jackson Waschuraandjackson-waschura c65760121f Fixed incorrect ffmpeg command construction (#1645)
Co-authored-by: jackson-waschura <jwaschur@calpoly.edu>
2023-03-21 11:48:43 -07:00
81e39cb276 improve metashape data import (#1605)
* improve metashape data import

- support multiple sensors
- support fisheye and equirectangular sensors
- support multiple components with transforms
- fix bug when image name has a '.' in it, excluding the prefix separator

* metashape_util: fix string formatting

---------

Co-authored-by: Frédéric Devernay <f-dy@users.noreply.github.com>
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-03-19 10:21:57 -07:00
Jonáš Kulhánek c0464f8a91 Adds util function to convert transformed poses back + tests (#1594)
Improves tests of ns-process-data images +
Adds util function to convert poses back from transformed coordinates.
2023-03-19 12:09:33 +01:00
Ethan WeberandMatthew Tancik b3f1153a78 Add option to auto select a websocket port (#1628)
* option to auto select a websocket port

* keep default port

* add docs

* default port

* Update base_config.py

---------

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-03-17 15:53:27 -07:00
James Gardner 9a01738b0e Adding NeRF-OSR Dataset (#1626)
* Added NeRFOSR Dataparser

* updating nerfosr dataparser

* fix import order in datamanager

* updating nerfosr dataparser

* update nerfosr dataparser
2023-03-17 15:53:19 -07:00
Rohan MathurandMatthew Tancik ea9a066f8f Removed deprecated insta360 (#1621)
* removed insta360 and also updated equirect images docs to include cropping

* removed unused import

---------

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-03-17 12:54:45 -07:00
Sacha LewinandMatthew Tancik 670d1e13d8 Use the run timestamp as run name on WandB (#1619)
Makes it way more convenient to run many experiments by splitting by experiment name, and then by timestamp.

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-03-17 12:54:32 -07:00
ksnzh 505ebe6793 fix missing param refine-pixsfm (#1618) 2023-03-17 11:52:57 -07:00
Matthew Tancik f58aa9348e Prevent colmap from opening (#1627) 2023-03-17 11:03:13 -07:00
Julian RendellandMatthew Tancik fac13d0bab Adding explicit pytorch version for Cuda 11.7 installs (#1611)
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-03-15 20:56:34 -07:00
David McAllisterandMatthew Tancik 4c2e200098 TensoRF go brrrrrrr (#1609)
* pdfsampler no longer includes uniform samples

* Lint

* Typo fix

---------

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-03-15 20:27:37 -07:00
Matthew Tancik af29ead3a2 Fix the typeguard version (#1612)
* Fix the typeguard version

* avoid torch 2

* fix
2023-03-15 18:33:58 -07:00
Rohan Mathur 2838cfc8a5 Adding the crop code made for videos to images (#1598)
* added equirect support

* added cropping for planar image input

* random comment

* bug fix and running command

* added crop-factor to docstrings
2023-03-14 12:04:28 -07:00
Saurav Maheshkar de6af6c4e5 feat(fields): create common get_normalized_directions fn (#1599)
* feat(fields): create common get_normalized_directions fn

* style: run black

* refactor: rename func and update docstring
2023-03-14 22:55:48 +05:30
Pablo Vela 630babacd6 Add option to use Pixel Perfect SFM (#1554)
add pixsfm option when using hloc
2023-03-12 16:32:33 -04:00
Pablo Vela ddfa463f4d NeuS Implementation (#1444)
* add initial method configs and data manager

* add neus scheduler

* add initial surface model and neus

* add Neus ray sampler

* add sdf field

* move scale/shift calc to math utils

* add debug and fix sdf_dataset typo

* update vscode neus debug

* fix dataset and get initial working version

* add magic number from original repo

* black fixes

* clean up get weights/transmittance from alphas

* clean up typos in sdf datamanager

* type annotations on neus scheduler and remove unused params

* clean up and annotate sdf field along w/ other fixes

* more clean up

* remove unnessary directions norm

* resolve comments

* update neus scheduler to follow refactor

* fix linter errors

* fix some typos

* remove get_weights_from_alpha

* more comment fixes

* more linter error fixes

* clean up and add comments

* more little fixes for types/comments

* more comments

* rename NeuS Scheduler to DelayedScheduler

* rename DelayedScheduler to CosineDecayScheduler
2023-03-12 16:01:18 -04:00
Matthew Tancik 1b18b44d81 Update 360 docs (#1593)
* Update 360 docs

* Update custom_dataset.md

* Update custom_dataset.md
2023-03-12 11:14:58 -07:00
Jonáš Kulhánek 2b8d5a9e5c Adds ns-process-data images tests and fixes #1586 (#1591)
* Adds ns-process-data images tests and fixes #1586

* Fix missing colmap and ffmpeg in github actions
2023-03-12 00:12:14 +01:00
Jonáš Kulhánek d9a391f79a Fixed: MinimalDataParser add options, allow Nerfstudio data format to specify test indices (#1586)
* MinimalDataParser add options, allow Nerfstudio data format to specify test indices

* Switch from indices to filenames and add tests

* Fix  #1581

* Fix changed interface
2023-03-11 22:14:45 +01:00
Alexander Kristoffersen e25c39e1c0 Updated Colab to Python3.9 and added colmap install speedup. (#1587) 2023-03-11 07:53:59 -08:00
Terrance WangandJonáš Kulhánek 44ad94073d bug fix for model loading from checkpoint (#1567)
* bug fix for model loading from checkpoint

* removing prefix instead

* fix in load_pipeline if ddp as well

* fix

* formatting

---------

Co-authored-by: Jonáš Kulhánek <jonas.kulhanek@live.com>
2023-03-11 08:09:46 +01:00
Matthew Tancik 7ae2fce52b v0.1.19 (#1585) v0.1.19 2023-03-10 18:10:33 -08:00
Matthew Tancik 63af268495 Remove webrtc (#1579)
* Remove webrtc

* cleanup

* lint

* cleanup

* Lower quailty

* Update viewer version

* Update docs

* remove cryptography req
2023-03-10 12:00:35 -08:00
Frédéric DevernayandFrédéric Devernay a277cd4886 camera_utils: add "vertical" orientation and "focus" center methods (#1543)
* camera_utils: add "vertical" orientation and "focus" center methods

* camera_utils: -Z is the look-at direction

* Update nerfstudio_dataparser.py

* missing import

* fix pylint issues

* camera_utils: handle degenerate case for "vertical" orientation method

* camera_utils: split focus_of_attention computation

---------

Co-authored-by: Frédéric Devernay <f-dy@users.noreply.github.com>
2023-03-10 11:22:21 -08:00
Matthew Tancik 510188b1e6 Revert "MinimalDataParser add options, allow Nerfstudio data format to specify test indices" (#1583)
Revert "MinimalDataParser add options, allow Nerfstudio data format to specify test indices (#1541)"

This reverts commit c61d3e9387.
2023-03-10 10:23:17 -08:00
Frédéric DevernayandFrédéric Devernay 21a452f1b4 scripts/exporter.py: export PLY compatible with PCL (#1572)
* scripts/exporter.py: export PLY compatible with PCL

Use the newer Open3D Tensor API to write pointclouds as float32, which
are compatible with PCL (see https://github.com/isl-org/Open3D/issues/1633).

fixes https://github.com/nerfstudio-project/nerfstudio/issues/1571

* exporter.py: pylint: disable=no-member

fixes https://github.com/nerfstudio-project/nerfstudio/actions/runs/4377569585/jobs/7661246358#step:10:13

open3d.core.Dtype has been around since open3d 0.11.0 http://www.open3d.org/docs/0.11.0/python_api/open3d.core.Dtype.html

---------

Co-authored-by: Frédéric Devernay <f-dy@users.noreply.github.com>
2023-03-10 10:20:36 -08:00
Alexander Kristoffersen 99afaa7164 Patch Sampling bug fix (#1578)
quick fix.
2023-03-09 17:30:41 -08:00
Matthew Tancik ba8f9b48a4 Remove regex for export path (#1577)
* Remove regex for export path

* lint
2023-03-09 13:29:13 -08:00
Dreek FireandMatthew Tancik 382ed853f2 Replace default colormap option with turbo for single-channel output (#1568)
replace default colormap option with turbo for single-channel output

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-03-09 13:24:04 -08:00
Rohan Mathur 403ab26f0c Changed percent-crop to crop-factor so it's less confusing (#1575)
* changed percent-crop arg to crop-factor so it's more clear that it's a float

* added error if crop values are less than 0 or more than 1

* added value hint and changed error to console thing

* added imports

* fixed linter issues

* refixed linter issues
2023-03-09 12:23:50 -08:00
Jonáš Kulhánek c61d3e9387 MinimalDataParser add options, allow Nerfstudio data format to specify test indices (#1541)
* MinimalDataParser add options, allow Nerfstudio data format to specify test indices

* Switch from indices to filenames and add tests
2023-03-09 19:14:24 +01:00
Rohan Mathur 1f8a07c10e Fixed percent crop typo (#1573)
I put 20 instead of 0.2
2023-03-08 19:39:27 -08:00
Jaldert Rombouts b66dc0c20c Correct instructions for Docker build (#1557)
This fixes the instruction for the cuda-architecture specific Docker build.
2023-03-08 07:47:43 -08:00
Rohan Mathur 9dc7fc2e44 Added documentation for equirectangular input (#1561)
* added documentation for equirectangular

* fixed typo and mentioned 3fps is empirical
2023-03-07 15:28:21 -08:00
Georgy Ponimatkin c0c714c831 Fix minor scannet bug. (#1555) 2023-03-05 17:34:38 +01:00
Loïc Magne 7b8999ac3d Fix typo in docs Nerfology/Model components/Ray samplers (#1553)
fixed typo
2023-03-03 09:56:37 -08:00
Rohan Mathur 982e527bee Added video cropping for equirectangular and made it independent of mask in normal videos (#1542)
* started bottom crop functionality

* first draft of cropping

* cleaned up and debugged cropping equirectangular and re added mask stuff just without percent crop

* added nonequirectangular video crop

* added left right crop for equirectangular

* shortened equirect utils

* finished regular video cropping

* removed print, added underscores, changed type to List[float]
2023-03-02 18:24:59 -08:00
Georgy Ponimatkin f48fa6a923 Instant ngp args (#1549)
* Expand instant-ngp args.

* Fixed misplaced string.
2023-03-02 23:49:30 +01:00
Matthew Tancik 8d41e522e3 Avoid loading entire dataset on GPU (#1551) 2023-03-02 14:32:27 -08:00
Matthew Tancik a36f33c5ee Update datamager docs (#1548) 2023-03-02 10:27:30 -08:00
Matthew Tancik 74d12a5542 Speed up point cloud export (#1547) 2023-03-02 10:14:20 -08:00
Georgy Ponimatkin 63f5c8a2c4 Fix camera transformations in ARKitScenes and ScanNet (#1544)
* Update arkitscenes_dataparser.py

Fix camera coordinate system in ARKitScenes.

* Update scannet_dataparser.py

Fix camera coordinates in ScanNet.
2023-03-02 09:28:18 -08:00
misza222 5c810521a5 Update nerf.md (#1546)
Add useful info that it doesn't require GPU to execute
2023-03-02 09:12:46 -08:00
Sacha Lewin 6912e7cde9 Fix crash when having no eval dataset and not using the viewer (#1537)
Fixed crash when no eval imgs on wandb/tensorboard
2023-03-01 15:02:41 -08:00
Georgy Ponimatkin 7366456835 Adding conversion to torch.float32 in get_interpolated_poses_many. (#1532) 2023-02-28 09:22:22 -08:00