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
* 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
* 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
* 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>
* 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>
* 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
* 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>
* 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>
* Add pose optimization to Splatfacto
* Disable Splatfacto pose optimization by default
* Improve apply_to_camera for Gaussian Splatting pose optimization
Do not chain modifications to camera_to_worlds to improve
numerical stability and enable L2 rot/trans penalties.
* Add separate mean and max rot/trans metrics to camera-opt
* Tweak pose optimization hyperparameters
Parameters used in the Gaussian Splatting on the Move paper v1
* Unit test fix for new cameara_optimizer training metrics
* Adjust splatfacto-big camera pose optimization parameters
Same parameters as in normal Splatfacto
---------
Co-authored-by: jh-surh <jh.surh@bucketplace.net>
* added an option to colmapdataparser to round up the image size when downscaling
* add round mode and update ffmpeg command
* [fix] wrong variable order
* update format
---------
Co-authored-by: Jing <jing1ling@intel.com>
* Update to match viser pr
* Bump viser version
* `done` => `removed` in docs
* Update viewer_elements.py
* Fix
* Point function signature overload
* Update viewer_control.md
* type ignore on callback
---------
Co-authored-by: Brent Yi <yibrenth@gmail.com>
* Support COLMAP reconstructions with nested image dirs
The code was previously looking for the file.name, which drops all
directory information from the path. Instead, we want to get the file
path relative to the data dir, which will only drop parts of the path
above the data dir, allowing us to recurse into subdirectories within
the images dir
* Adhere to style guidelines
* Add testcase to cover image dirs with subdirs
* Apply the mask on the proper axis for removing NaN/Inf values
* Remove unnecessary indexing which raises an error for 1-d arrays
* Update the number of gaussians after removing NaN/Inf values
* Support rectangle selection in viewer
* Update doc for click screen_pos
* Raise callback override warning from nerfstudio
* Bump viser version, rect-select only in >0.1.26