reduced-3dgs 1.10.7__tar.gz → 1.10.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of reduced-3dgs might be problematic. Click here for more details.

Files changed (48) hide show
  1. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/PKG-INFO +2 -1
  2. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/README.md +1 -0
  3. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/train.py +10 -3
  4. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs.egg-info/PKG-INFO +2 -1
  5. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/setup.py +1 -1
  6. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/LICENSE.md +0 -0
  7. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/__init__.py +0 -0
  8. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/combinations.py +0 -0
  9. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/importance/__init__.py +0 -0
  10. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/importance/combinations.py +0 -0
  11. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/importance/trainer.py +0 -0
  12. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/prepare.py +0 -0
  13. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/pruning/__init__.py +0 -0
  14. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/pruning/combinations.py +0 -0
  15. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/pruning/trainer.py +0 -0
  16. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/quantization/__init__.py +0 -0
  17. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/quantization/abc.py +0 -0
  18. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/quantization/exclude_zeros.py +0 -0
  19. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/quantization/quantizer.py +0 -0
  20. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/quantization/wrapper.py +0 -0
  21. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/quantize.py +0 -0
  22. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/shculling/__init__.py +0 -0
  23. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/shculling/gaussian_model.py +0 -0
  24. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs/shculling/trainer.py +0 -0
  25. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs.egg-info/SOURCES.txt +0 -0
  26. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs.egg-info/dependency_links.txt +0 -0
  27. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs.egg-info/requires.txt +0 -0
  28. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/reduced_3dgs.egg-info/top_level.txt +0 -0
  29. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/setup.cfg +0 -0
  30. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/diff-gaussian-rasterization/cuda_rasterizer/backward.cu +0 -0
  31. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/diff-gaussian-rasterization/cuda_rasterizer/forward.cu +0 -0
  32. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/diff-gaussian-rasterization/cuda_rasterizer/rasterizer_impl.cu +0 -0
  33. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/diff-gaussian-rasterization/diff_gaussian_rasterization/__init__.py +0 -0
  34. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/diff-gaussian-rasterization/ext.cpp +0 -0
  35. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/diff-gaussian-rasterization/rasterize_points.cu +0 -0
  36. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/diff-gaussian-rasterization/reduced_3dgs/kmeans.cu +0 -0
  37. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/diff-gaussian-rasterization/reduced_3dgs/redundancy_score.cu +0 -0
  38. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/diff-gaussian-rasterization/reduced_3dgs/sh_culling.cu +0 -0
  39. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/diff-gaussian-rasterization/reduced_3dgs.cu +0 -0
  40. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/gaussian-importance/cuda_rasterizer/backward.cu +0 -0
  41. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/gaussian-importance/cuda_rasterizer/forward.cu +0 -0
  42. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/gaussian-importance/cuda_rasterizer/rasterizer_impl.cu +0 -0
  43. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/gaussian-importance/diff_gaussian_rasterization/__init__.py +0 -0
  44. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/gaussian-importance/ext.cpp +0 -0
  45. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/gaussian-importance/rasterize_points.cu +0 -0
  46. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/simple-knn/ext.cpp +0 -0
  47. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/simple-knn/simple_knn.cu +0 -0
  48. {reduced_3dgs-1.10.7 → reduced_3dgs-1.10.9}/submodules/simple-knn/spatial.cu +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reduced_3dgs
3
- Version: 1.10.7
3
+ Version: 1.10.9
4
4
  Summary: Refactored code for the paper "Reducing the Memory Footprint of 3D Gaussian Splatting"
5
5
  Home-page: https://github.com/yindaheng98/reduced-3dgs
6
6
  Author: yindaheng98
@@ -35,6 +35,7 @@ This repository contains the **refactored Python code for [Reduced-3DGS](https:/
35
35
 
36
36
  * [Pytorch](https://pytorch.org/) (v2.4 or higher recommended)
37
37
  * [CUDA Toolkit](https://developer.nvidia.com/cuda-12-4-0-download-archive) (12.4 recommended, should match with PyTorch version)
38
+ * (Optional) [cuML](https://github.com/rapidsai/cuml) for faster vector quantization
38
39
 
39
40
  (Optional) If you have trouble with [`gaussian-splatting`](https://github.com/yindaheng98/gaussian-splatting), try to install it from source:
40
41
  ```sh
@@ -13,6 +13,7 @@ This repository contains the **refactored Python code for [Reduced-3DGS](https:/
13
13
 
14
14
  * [Pytorch](https://pytorch.org/) (v2.4 or higher recommended)
15
15
  * [CUDA Toolkit](https://developer.nvidia.com/cuda-12-4-0-download-archive) (12.4 recommended, should match with PyTorch version)
16
+ * (Optional) [cuML](https://github.com/rapidsai/cuml) for faster vector quantization
16
17
 
17
18
  (Optional) If you have trouble with [`gaussian-splatting`](https://github.com/yindaheng98/gaussian-splatting), try to install it from source:
18
19
  ```sh
@@ -14,8 +14,12 @@ from reduced_3dgs.quantization import AbstractQuantizer
14
14
  from reduced_3dgs.prepare import modes, prepare_gaussians, prepare_trainer
15
15
 
16
16
 
17
- def prepare_training(sh_degree: int, source: str, device: str, mode: str, trainable_camera: bool = False, load_ply: str = None, load_camera: str = None, load_depth=False, with_scale_reg=False, quantize: bool = False, load_quantized: str = None, configs={}):
18
- dataset = prepare_dataset(source=source, device=device, trainable_camera=trainable_camera, load_camera=load_camera, load_depth=load_depth)
17
+ def prepare_training(
18
+ sh_degree: int, source: str, device: str, mode: str,
19
+ trainable_camera: bool = False, load_ply: str = None, load_camera: str = None,
20
+ load_mask=True, load_depth=True,
21
+ with_scale_reg=False, quantize: bool = False, load_quantized: str = None, configs={}):
22
+ dataset = prepare_dataset(source=source, device=device, trainable_camera=trainable_camera, load_camera=load_camera, load_mask=load_mask, load_depth=load_depth)
19
23
  gaussians = prepare_gaussians(sh_degree=sh_degree, source=source, device=device, trainable_camera=trainable_camera, load_ply=load_ply)
20
24
  trainer, quantizer = prepare_trainer(gaussians=gaussians, dataset=dataset, mode=mode, with_scale_reg=with_scale_reg, quantize=quantize, load_quantized=load_quantized, configs=configs)
21
25
  return dataset, gaussians, trainer, quantizer
@@ -68,6 +72,7 @@ if __name__ == "__main__":
68
72
  parser.add_argument("-l", "--load_ply", default=None, type=str)
69
73
  parser.add_argument("--load_camera", default=None, type=str)
70
74
  parser.add_argument("--quantize", action='store_true')
75
+ parser.add_argument("--no_image_mask", action="store_true")
71
76
  parser.add_argument("--no_depth_data", action='store_true')
72
77
  parser.add_argument("--with_scale_reg", action="store_true")
73
78
  parser.add_argument("--load_quantized", default=None, type=str)
@@ -83,7 +88,9 @@ if __name__ == "__main__":
83
88
  configs = {o.split("=", 1)[0]: eval(o.split("=", 1)[1]) for o in args.option}
84
89
  dataset, gaussians, trainer, quantizer = prepare_training(
85
90
  sh_degree=args.sh_degree, source=args.source, device=args.device, mode=args.mode, trainable_camera="camera" in args.mode,
86
- load_ply=args.load_ply, load_camera=args.load_camera, load_depth=not args.no_depth_data, with_scale_reg=args.with_scale_reg,
91
+ load_ply=args.load_ply, load_camera=args.load_camera,
92
+ load_mask=not args.no_image_mask, load_depth=not args.no_depth_data,
93
+ with_scale_reg=args.with_scale_reg,
87
94
  quantize=args.quantize, load_quantized=args.load_quantized, configs=configs)
88
95
  dataset.save_cameras(os.path.join(args.destination, "cameras.json"))
89
96
  torch.cuda.empty_cache()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reduced_3dgs
3
- Version: 1.10.7
3
+ Version: 1.10.9
4
4
  Summary: Refactored code for the paper "Reducing the Memory Footprint of 3D Gaussian Splatting"
5
5
  Home-page: https://github.com/yindaheng98/reduced-3dgs
6
6
  Author: yindaheng98
@@ -35,6 +35,7 @@ This repository contains the **refactored Python code for [Reduced-3DGS](https:/
35
35
 
36
36
  * [Pytorch](https://pytorch.org/) (v2.4 or higher recommended)
37
37
  * [CUDA Toolkit](https://developer.nvidia.com/cuda-12-4-0-download-archive) (12.4 recommended, should match with PyTorch version)
38
+ * (Optional) [cuML](https://github.com/rapidsai/cuml) for faster vector quantization
38
39
 
39
40
  (Optional) If you have trouble with [`gaussian-splatting`](https://github.com/yindaheng98/gaussian-splatting), try to install it from source:
40
41
  ```sh
@@ -60,7 +60,7 @@ if os.name == 'nt':
60
60
 
61
61
  setup(
62
62
  name="reduced_3dgs",
63
- version='1.10.7',
63
+ version='1.10.9',
64
64
  author='yindaheng98',
65
65
  author_email='yindaheng98@gmail.com',
66
66
  url='https://github.com/yindaheng98/reduced-3dgs',
File without changes
File without changes