Commit Graph
1963 Commits
Author SHA1 Message Date
Congrong Xu 4fb09bebd6 Update installation.md (#3213) 2024-06-12 13:13:29 -04:00
Congrong Xu 43ab3616f1 Update installation guide for Windows (tcnn+gsplat) (#3212)
* Update installation.md

* Update installation.md
2024-06-11 14:29:26 -04:00
Ruilong Li(李瑞龙)andRuilong Li 4b61cb9e6d Fix bug in SplatfactoModel when sh_degree is zero the color is not with sigmoid (#3207)
* torch.compile -> torch_compile from misc

* sigmoid on color when sh_degree==0

---------

Co-authored-by: Ruilong Li <397653553@qq.com>
2024-06-10 13:39:36 -07:00
Simon Fraser d220600b8b Making install_checks use colmap_cmd (#3204)
check_colmap_installed() in nerfstudio.utils.install_checks.py previously didn't use the colmap_cmd attribute of ColmapConverterToNerfstudioDataset. This change addresses that so an alternative colmap_cmd can actually be used
2024-06-09 20:35:30 -07:00
Brent Yi 012a47d8b0 1.1.2 v1.1.2 2024-06-08 17:38:55 -07:00
Ruilong Li(李瑞龙)andRuilong Li 36187d5224 torch.compile -> torch_compile from misc (#3202)
Co-authored-by: Ruilong Li <397653553@qq.com>
2024-06-08 15:18:15 -07:00
Brent Yi d92d76b953 Bump version to 1.1.1 v1.1.1 2024-06-08 14:05:21 -07:00
b6d0ca00dd Update splatfacto with gsplat 1.0 (#3200)
Co-authored-by: Ruilong Li <397653553@qq.com>
Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2024-06-08 11:40:06 -07:00
Paul Wais 959fda2e25 Pin gsplat <v1.0.0 temp (#3197)
ignore gsplat 1.0 for now
2024-06-08 12:12:32 +03:00
isrishandJ.Y 6c51e589bd Adding new captures to eyeful dataset (#3186)
* Update eyeful_tower.py

Added two new captures to eyefultower dataset.

* Update eyeful_tower.py

---------

Co-authored-by: J.Y <132313008+jb-ye@users.noreply.github.com>
2024-06-06 17:56:15 +00:00
e58d513942 Generalize get average image metrics (#3188)
generalize get average image metrics

Co-authored-by: Le Hoanh <leh19@csl-leh19.cs.aalto.fi>
Co-authored-by: J.Y <132313008+jb-ye@users.noreply.github.com>
2024-06-06 17:52:02 +00:00
J.YandJianbo Ye 883d64996b Introduce FPSampler for train cameras (#3177)
* Introduce FPSampler for train cameras

* improve document and log

---------

Co-authored-by: Jianbo Ye <jianboye@amazon.com>
2024-06-06 17:34:59 +00:00
Otto Seiskari 5491df92d9 Export Splatfacto-optimized poses (#3116)
* Fix exported poses when Splatfacto pose optimization is enabled

Currently works correctly only with --eval-mode=all

* Make Splatfacto pose adjustments consistent with Nerfacto

Also allow exporting Nerfacto-optimized poses. Fixes #3073.
Second revision where the rotation and translation parts
are handled separately.
2024-05-29 10:08:54 -04:00
SerenitysmkandJ.Y 12f2e681a4 Fix: when --use-sfm-depth is enabled and the model is given by --colm… (#3172)
Fix: when --use-sfm-depth is enabled and the model is given by --colmap-model-path. It searches the wrong reconstruction directory

Co-authored-by: J.Y <132313008+jb-ye@users.noreply.github.com>
2024-05-28 15:08:20 -04:00
Siming He 67d9fd1933 NeRFtoGSandBack (#3150)
* add methods

* fix reference in index.md

* update description
2024-05-27 17:29:26 +03:00
Anthony ZhangandJ.Y 456930c213 Fixing resize_image and adding additional distortion check (#3162)
adding fixes for the runtime error on masking as well as distortion checking

Co-authored-by: J.Y <132313008+jb-ye@users.noreply.github.com>
2024-05-24 23:31:45 -04:00
5a341eac2c Fix "poster" dataset extraction (#3164)
Co-authored-by: Martin Mokry <martin-kokos@users.noreply.github.com>
Co-authored-by: maturk <30566358+maturk@users.noreply.github.com>
2024-05-24 15:12:44 +03:00
fe ee4c18a407 Add OpenNeRF method (ICLR'24 http://arxiv.org/abs/2404.03650) (#3167)
* Create opennerf.md

* Update opennerf.md

* Add OpenNeRF to method list

* Add OpenNeRF method
2024-05-24 15:05:48 +03:00
paolovic 742963e073 remove redundant code in full_images_datamanager.py (#3155)
remove redundant code
2024-05-22 12:51:19 -04:00
Pablo Velaandmaturk 8d5502db1a Add Pixi as an option for installation (#3130)
* pixi installation optiont

* chore: Update .gitignore to include /third_party and include pixi lock file

* feat: Update download and training commands for dozer data

The commit updates the download and training commands for the dozer data in the `pixi.toml` file. It renames the `download-sample-data` command to `download-dozer-data` and modifies the `train-example-splat` and `train-example-nerf` commands to include the dozer data as a dependency.

This makes it easy to run an example training for both nerfacto and splatfacto

* update to include range between 3.8 -3.10

* Add Pixi installation instructions to the installation.md file

---------

Co-authored-by: maturk <30566358+maturk@users.noreply.github.com>
2024-05-19 11:56:30 +03:00
Congrong Xu e6d780d2a0 Only import pycolmap in run_hloc (#3146)
* remove pycolmap import on windows

* only import when run hloc

* also for pixsfm

* fix
2024-05-15 11:33:46 -04:00
SwirtaBandJ.Y dd811f58bc Support OCI standard dockerfile (#2961)
* Update user creation process (non sudo)
Minor simplifications

* Keep default shell (sh) during build

* Add sudo privilages
Custom rules for sudo group
Comented lines for easy image modification

---------

Co-authored-by: J.Y <132313008+jb-ye@users.noreply.github.com>
2024-05-14 19:01:38 +00:00
George Tang ddcbb5c7f8 Fix legacy tensor construction (#3145) 2024-05-14 10:42:23 -07:00
J.Y e2a9793ba4 bump version to 1.1.0 (#3143) v1.1.0 2024-05-13 10:58:49 -07:00
Elias Watson e3ef9fb163 Clarify flag name in docs/nerfology/methods/splat.md (#3140)
Clarify full flag name
2024-05-13 08:55:35 +01:00
Feez2403 ffbd16a375 Fix edge case of depth colormap (#3139)
If the user sets near_plane as 0.0, the "or" will take the second term (float(torch.min(depth))) instead of using the 0.0 value.  We fix this by checking explicitely for a "None" variable
2024-05-11 21:38:13 -04:00
Leandro Passos 7ba02be8cf adding the link for the paper page and fixing image paths (#3132)
* bionerf markdown file
2024-05-09 16:02:48 +00:00
J.YandJianbo Ye a4c32ada52 Make RealityCapture csv/ply exports work! (#3131)
* support ply input file for ns-process-data realitycapture


Co-authored-by: Jianbo Ye <jianboye@amazon.com>
2024-05-09 08:58:03 -07:00
c17d1d7315 Add kwargs handling for patchpixelsampler patch size (#2622)
* Add kwargs handling for patchpixelsampler patch size

* Run black

---------

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
Co-authored-by: J.Y <132313008+jb-ye@users.noreply.github.com>
2024-05-08 10:45:58 -07:00
Leandro Passos 3d61d8cbdc Fixing typos and symbols in bionerf.md (#3126)
* bionerf markdown file

* method description in markdown file

* inserting bionerf in index file

* bionerf description

* fixing image paths

* including results on readme

* deleting last line from bionerfs page

* fixing typos in bionerf.md
2024-05-07 00:43:10 -07:00
Leandro Passos 9fe8e6c27c BioNeRF (#3125)
* bionerf markdown file

* method description in markdown file

* inserting bionerf in index file

* bionerf description

* fixing image paths

* including results on readme

* deleting last line from bionerfs page
2024-05-06 22:11:07 -07:00
Justin Kerr 3096f445b8 Add a pointcloud export from polycam to process-data (#3124)
* add a pointcloud export from polycam mesh to process-data

* bugfix
2024-05-06 14:40:05 -07:00
hturki f2a73804d4 fix nerfstudio collate function (#2965)
* fix nerfstudio collate function

* run ruff

* address PR feedback
2024-05-06 13:37:42 -04:00
49f5934ab3 Support splatfacto training for metashape exports (#3122)
* Added the possibility to import a metashape ply file

* FIxed double import and import order

* Ruff Format

* Ruff Format

* Ruff Format

* Ruff SUCKS

* make ply as an option and use applied_transform

* fix ruff

* fix bugs when ply doesn't exist

* fix bugs when ply doesn't exist

* no backtrace for ValueError

* hot fix

* Add return type

---------

Co-authored-by: simonbethke <simon.bethke@gmail.com>
Co-authored-by: Jianbo Ye <jianboye@amazon.com>
Co-authored-by: Brent Yi <yibrenth@gmail.com>
2024-05-01 21:24:33 -04:00
J.Y 3c4c3ae07e Fix #3064 and some minor changes (#3121) 2024-05-01 12:43:41 -07:00
e232227e31 metashape_utils: work with camera groups (#2626)
* metashape_utils: work with camera groups

* metashape_utils: console message when skipping a camera due to a missing image

---------

Co-authored-by: Frédéric Devernay <f-dy@users.noreply.github.com>
Co-authored-by: J.Y <132313008+jb-ye@users.noreply.github.com>
2024-04-30 20:25:59 +00:00
Carl Lindström 759fda8285 Fix bug in pixel sampler (#3103)
* Fix bug in pixel sampler

* Refactor code for distributing rays across images
2024-04-30 09:57:20 -04:00
b190874ef1 Use AbsGrad to get better results with less gaussians (#3113)
* Use AbsGrad to get better results with less gaussians

* some adjustment such that splatfacto-big don't go OOM

* use new gsplat version

---------

Co-authored-by: Jianbo Ye <jianboye@amazon.com>
Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2024-04-29 16:32:48 -04:00
Mathijs Henquet bc9328c7ff GaussianSplats export: allow uint8 in ply (#3111)
* GaussianSplats export: allow uint8 in ply

* Ruff formatting

* Add test and narrower typing

* Formatting

* Revert narrow typing, not supported by old python

* Fix typing for old pythons
2024-04-29 14:30:25 -04:00
Rohan MathurandJustin Kerr f046ceadf6 Adding cropping for gaussian splat exports (#3105)
* added bounding box to splat export params

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2024-04-29 17:05:49 +00:00
Satvik SharmaandJustin Kerr 3f39546653 Adding lock for Viser Element callbacks (#3067)
* add callback lock, prepare for testing

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2024-04-25 23:35:24 -07:00
dbergaandJianbo Ye db93476b6a Hloc fix for image_ids (camera per image) (#3081)
* changed run_hloc args to fill image_ids (added image_list and changed camera_mode to PER_IMAGE)

* added parameter same_camera on ns-process-data for multifocal cases in hloc. Also updated colmap_to_json to detect if there is one or several cameras per frame while keeping the camera type specifications

* ruff-formatted changes in colmap_utils.py

* use_single_camera_mode update args, including colmap_utils and hloc_utils

* changed multicamera warning's print to CONSOLE.print

* fix path typo console print

* rewritten use-single-camera-mode comment in ns-process-data

* (fix) inverted bool for colmap_utils

* change im_id to im_data.camera_id

---------

Co-authored-by: Jianbo Ye <jianboye@amazon.com>
2024-04-24 12:43:45 -04:00
J.YandJustin Kerr d9b022b25f Allow alpha transparency training for blender datasets input (#3088)
Allow alpha transparency training for rgba input

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2024-04-19 18:03:55 +00:00
Congrong XuandBrent Yi eddf2d21b5 Changes for trainer.py to support the Gradio webui (#3046)
* changes for trainer to support webui

* Update trainer to support webui

* format

* add a seperated shutdown() function to stop training

* typo fix

* get rid of _stop_viewer_server()

* Update trainer.py

* organize import

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2024-04-19 00:37:50 +00:00
Justin Kerr 45d8bb79ea updates to apply_pca_colormap (#3086)
* improvements to pca_colormap: allow input pca matrix, optional ignore_zeros arg

* typo
2024-04-17 23:54:43 -07:00
Patrick Morgan babf57718c Fix call to detect ODM reconstruction file (#3018) 2024-04-12 21:23:47 +00:00
Justin Kerr a64026f8db shift principle points by .5 in undistortion (#3071)
* shift principle points by .5

* fix ordering

* add fisheye offset
2024-04-12 15:32:22 -04:00
Gunjan ChhablaniandBrent Yi c302cc5301 Add pointcloud loading for blender parser (#2902)
* Add pointcloud loading for blender parser

* Fix argument

* Fix docstring

* Fix metadata in dataparsers

* Add changes from review

* Avoid changing default behavior

* Apply `scale_factor` to loaded points

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2024-04-11 13:41:14 -07:00
hyperzy 03bdeff2ad Fixed Unexpectedly huge RAM consumption of parallel datamanager (#3060)
* Reduced the memory usage by caching image after the datamanager process starts
2024-04-11 18:56:37 +00:00
J.Y 4714ae75f7 write eval combined images for diagnostics (#3070) 2024-04-11 18:37:02 +00:00