reduced-3dgs 1.9.5__cp312-cp312-win_amd64.whl → 1.10.0__cp312-cp312-win_amd64.whl

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.
@@ -119,10 +119,12 @@ class VectorQuantizer(AbstractQuantizer):
119
119
  return self.one_nearst(model._opacity.detach(), codebook)
120
120
 
121
121
  def produce_clusters_scaling(self, model: GaussianModel, *args, **kwargs):
122
- return self.generate_codebook(model.get_scaling.detach(), self.num_clusters_scaling, *args, **kwargs)
122
+ centers, ids = self.generate_codebook(model.get_scaling.detach(), self.num_clusters_scaling, *args, **kwargs)
123
+ centers_log = model.scaling_inverse_activation(centers)
124
+ return centers_log, ids
123
125
 
124
126
  def find_nearest_cluster_id_scaling(self, model: GaussianModel, codebook: torch.Tensor):
125
- return self.one_nearst(model.get_scaling.detach(), codebook)
127
+ return self.one_nearst(model.get_scaling.detach(), model.scaling_activation(codebook))
126
128
 
127
129
  def produce_clusters(self, model: GaussianModel, init_codebook_dict={}):
128
130
  codebook_dict: Dict[str, torch.Tensor] = {}
@@ -163,7 +165,7 @@ class VectorQuantizer(AbstractQuantizer):
163
165
 
164
166
  def dequantize(self, model: GaussianModel, ids_dict: Dict[str, torch.Tensor], codebook_dict: Dict[str, torch.Tensor], xyz: torch.Tensor = None, replace=False) -> GaussianModel:
165
167
  opacity = codebook_dict["opacity"][ids_dict["opacity"], ...]
166
- scaling = model.scaling_inverse_activation(codebook_dict["scaling"][ids_dict["scaling"], ...])
168
+ scaling = codebook_dict["scaling"][ids_dict["scaling"], ...]
167
169
 
168
170
  rotation = torch.cat((
169
171
  codebook_dict["rotation_re"][ids_dict["rotation_re"], ...],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reduced_3dgs
3
- Version: 1.9.5
3
+ Version: 1.10.0
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
@@ -2,12 +2,12 @@ reduced_3dgs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  reduced_3dgs/combinations.py,sha256=k4ErxpAscCqJMtVXZ29KGQjw2VoZMV0W3V4u3nj0e-Y,9401
3
3
  reduced_3dgs/quantize.py,sha256=Y44qHyFdOIqke7NoeqXmyKloS43j-al74ZiNsuZZHbM,2527
4
4
  reduced_3dgs/train.py,sha256=jXHdXk05o_ebHjx_VBzcY6fRNn9EdKve6Tf5YC5an0o,9803
5
- reduced_3dgs/diff_gaussian_rasterization/_C.cp312-win_amd64.pyd,sha256=D7ZCIZZAsv4ybmBpLOqxk_ciPlpO5TrxpHMejYYmKmc,1640448
5
+ reduced_3dgs/diff_gaussian_rasterization/_C.cp312-win_amd64.pyd,sha256=vxO1tZDmYDx1RCVZg88T1wJ3zFVkVrY1tun0y1hW_Lk,1640448
6
6
  reduced_3dgs/diff_gaussian_rasterization/__init__.py,sha256=oV6JjTc-50MscX4XHeIWSgLr3l8Y25knBIs-0gRbJr4,7932
7
7
  reduced_3dgs/importance/__init__.py,sha256=neJsbY5cLikEGBQGdR4MjwCQ5VWVikT1357DwL0EtWU,289
8
8
  reduced_3dgs/importance/combinations.py,sha256=eAdykeTdvRGCHxskjILQnZVaqQVvwC-0wMxdgYMeeDs,2922
9
9
  reduced_3dgs/importance/trainer.py,sha256=Sj4ORvoYtFT7z3hifzFZDfhFyqumHraXyk3vMVtk0AU,12661
10
- reduced_3dgs/importance/diff_gaussian_rasterization/_C.cp312-win_amd64.pyd,sha256=CKNzRxNhntqRRGnvMYtFjxzFqVIGcPZ92XMW59o0uBc,1320448
10
+ reduced_3dgs/importance/diff_gaussian_rasterization/_C.cp312-win_amd64.pyd,sha256=oMwEz5ip6T2ch_qEOcCH8r2vm2MY7wvKaURjsgdS1D4,1320448
11
11
  reduced_3dgs/importance/diff_gaussian_rasterization/__init__.py,sha256=Tix8auyXBb_QFQtXrV3sLE9kdnl5zgHH0BbqcFzDp84,12850
12
12
  reduced_3dgs/pruning/__init__.py,sha256=E_YxJ9cDV_B6EJbYUBEcuRYMIht_C72rI1VJUXFCLpM,201
13
13
  reduced_3dgs/pruning/combinations.py,sha256=QhXt2C7pTXhwzp9hPL9dVdiQzz0cUQpm5qljqytPEsM,2345
@@ -15,14 +15,14 @@ reduced_3dgs/pruning/trainer.py,sha256=JJml-uYfDfUpbsjRNZbIvnUYYslVgFXkhejbkYSo0
15
15
  reduced_3dgs/quantization/__init__.py,sha256=1z1xMn3yj9u7cR9JizGrI3WSyIES_Tqq6oDquvglSeo,225
16
16
  reduced_3dgs/quantization/abc.py,sha256=rsi8HFRwQCltWTYiJ3BpygtQDT7hK6J01jKMOboOY8w,1910
17
17
  reduced_3dgs/quantization/exclude_zeros.py,sha256=fKSgjHous4OpdI6mQi9z23if9jnbB79w2jChpxkCJWw,2381
18
- reduced_3dgs/quantization/quantizer.py,sha256=-B07X1VrV7E1fT_NXXlZ0FLAb-c_jBUlZ8274KwHyVw,16614
18
+ reduced_3dgs/quantization/quantizer.py,sha256=VL96ZTY7G8jUt-fLBJ3gw1MQV46NkHOBJyfUPsmDQxE,16712
19
19
  reduced_3dgs/quantization/wrapper.py,sha256=cyXqfJgo9b3fS7DYXxOk5LmQudvrEhweOebFsjRnXiQ,2549
20
20
  reduced_3dgs/shculling/__init__.py,sha256=nP2BejDCUdCmJNRbg0hfhHREO6jyZXwIcRiw6ttVgqo,149
21
21
  reduced_3dgs/shculling/gaussian_model.py,sha256=f8QWaL09vaV9Tcf6Dngjg_Fmk1wTQPAjWhuhI_N02Y8,2877
22
22
  reduced_3dgs/shculling/trainer.py,sha256=9hwR77djhZpyf-URhwKHjnLbe0ZAOS-DIw58RzkcHXQ,6369
23
- reduced_3dgs/simple_knn/_C.cp312-win_amd64.pyd,sha256=nW0YFZFsAzZu92nWX3SLB7II3V0ivfkT2O9M0L9PmrM,1267712
24
- reduced_3dgs-1.9.5.dist-info/licenses/LICENSE.md,sha256=LQ4_LAqlncGkg_mQy5ykMAFtQDSPB0eKmIEtBut0yjw,4916
25
- reduced_3dgs-1.9.5.dist-info/METADATA,sha256=VkgFVSczzZCk6RpIMZ_fEA18ZVyf6tSc7cEJhLUtixY,13014
26
- reduced_3dgs-1.9.5.dist-info/WHEEL,sha256=t5QiC5vd2hOdU0bFY5fyqZIc3wMdCuUPTCilUZToJT4,101
27
- reduced_3dgs-1.9.5.dist-info/top_level.txt,sha256=PpU5aT3-baSCdqCtTaZknoB32H93UeKCkYDkRCCZMEI,13
28
- reduced_3dgs-1.9.5.dist-info/RECORD,,
23
+ reduced_3dgs/simple_knn/_C.cp312-win_amd64.pyd,sha256=wGxp2MJfzY2BUNrkVqJwdjQIvyom6peboTpMWw38vAg,1267712
24
+ reduced_3dgs-1.10.0.dist-info/licenses/LICENSE.md,sha256=LQ4_LAqlncGkg_mQy5ykMAFtQDSPB0eKmIEtBut0yjw,4916
25
+ reduced_3dgs-1.10.0.dist-info/METADATA,sha256=5FMe1oopipogQu_qsW7-GnO6KVVXrRXdsCKcVtbqIF8,13015
26
+ reduced_3dgs-1.10.0.dist-info/WHEEL,sha256=8UP9x9puWI0P1V_d7K2oMTBqfeLNm21CTzZ_Ptr0NXU,101
27
+ reduced_3dgs-1.10.0.dist-info/top_level.txt,sha256=PpU5aT3-baSCdqCtTaZknoB32H93UeKCkYDkRCCZMEI,13
28
+ reduced_3dgs-1.10.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.0.1)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp312-cp312-win_amd64
5
5