gaussian-splatting 1.16.12__cp311-cp311-win_amd64.whl → 1.16.14__cp311-cp311-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.

Potentially problematic release.


This version of gaussian-splatting might be problematic. Click here for more details.

@@ -49,7 +49,6 @@ def camera2dict(camera: Camera, id):
49
49
  'ground_truth_image_path': camera.ground_truth_image_path.replace("\\", "/") if camera.ground_truth_image_path else None,
50
50
  'ground_truth_depth_path': camera.ground_truth_depth_path.replace("\\", "/") if camera.ground_truth_depth_path else None,
51
51
  'ground_truth_depth_mask_path': camera.ground_truth_depth_mask_path.replace("\\", "/") if camera.ground_truth_depth_mask_path else None,
52
- "img_name": os.path.basename(camera.ground_truth_image_path) if camera.ground_truth_image_path else None,
53
52
  }
54
53
  return camera_entry
55
54
 
@@ -60,10 +60,10 @@ class TrainableCameraDataset(CameraDataset):
60
60
  })
61
61
 
62
62
  def to(self, device):
63
- self.cameras.to(device)
64
- self.quaternions.to(device)
65
- self.Ts.to(device)
66
- self.exposures.to(device)
63
+ self.cameras = self.cameras.to(device)
64
+ self.quaternions = nn.Parameter(self.quaternions.to(device))
65
+ self.Ts = nn.Parameter(self.Ts.to(device))
66
+ self.exposures = nn.Parameter(self.exposures.to(device))
67
67
  return self
68
68
 
69
69
  def save_cameras(self, path):
@@ -48,6 +48,7 @@ def build_pcd_rescale(
48
48
  def rendering(
49
49
  dataset: CameraDataset, gaussians: GaussianModel, save: str, save_pcd: bool = False,
50
50
  rescale_depth_gt: bool = True) -> None:
51
+ dataset.save_cameras(os.path.join(save, "cameras.json"))
51
52
  render_path = os.path.join(save, "renders")
52
53
  gt_path = os.path.join(save, "gt")
53
54
  makedirs(render_path, exist_ok=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gaussian_splatting
3
- Version: 1.16.12
3
+ Version: 1.16.14
4
4
  Summary: Refactored python training and inference code for 3D Gaussian Splatting
5
5
  Home-page: https://github.com/yindaheng98/gaussian-splatting
6
6
  Author: yindaheng98
@@ -1,20 +1,20 @@
1
1
  gaussian_splatting/__init__.py,sha256=CiOZMcyPTAaKtEuMZUhEda_Ad4_RUhmIstB-A3iuOJY,131
2
- gaussian_splatting/camera.py,sha256=aiIUnGgMvyY6h4SjuuzDW1AM5QsZhxZMF2Fsq913jHs,7056
2
+ gaussian_splatting/camera.py,sha256=9GxetuP7cZnHANoECGiawzW8CC4cGvW2CnJSr2JMvUE,6941
3
3
  gaussian_splatting/camera_trainable.py,sha256=XHynfc-9Z3d8N00u4rUlyAglwTadT_BDoV4ffOBLcLU,3862
4
4
  gaussian_splatting/gaussian_model.py,sha256=Jg0RJXNeCMNjQpZStag2H8JpvTeukjgqnrHVHJRSDcY,13296
5
5
  gaussian_splatting/prepare.py,sha256=SdljFF2TU-ETkIY2ceHEz9tGA-o4HfHxGsFKIhyB1Ek,3042
6
- gaussian_splatting/render.py,sha256=KFqMn1Uo76dOYbwmoBtU4_oVADaQtLKhbw6TmDUT7lk,5830
6
+ gaussian_splatting/render.py,sha256=SyvRmiZ1OzYTZf7lQTRPjncQ0vL9297oWF3SgxEfJnA,5892
7
7
  gaussian_splatting/train.py,sha256=VAFlPHB5ETH8BiYhe0LWY2UWXyB16tSRPKUaV5VPp5A,5196
8
8
  gaussian_splatting/dataset/__init__.py,sha256=-runuT-61P0YVpfV_WXqwUZM1oY0N012YH13Bt3rzSU,138
9
- gaussian_splatting/dataset/camera_trainable.py,sha256=iaPWsMfjunM3qGzEiuIw2vzxyJda63qpjgRsvS0IuuI,4832
9
+ gaussian_splatting/dataset/camera_trainable.py,sha256=pHtjXXCAlNbbtTvj56-UogM8BHPjc_CNCwFWxixDYkY,4935
10
10
  gaussian_splatting/dataset/dataset.py,sha256=mlcIS0pJNdUIT-RObcQNYwgxxTOFJ0OYg3AlhoQ4Mww,2315
11
11
  gaussian_splatting/dataset/colmap/__init__.py,sha256=YEYT2k2WJSqrkkZq4KAJYS9UMgqU6W6TJaeHLRc1CM4,213
12
12
  gaussian_splatting/dataset/colmap/dataset.py,sha256=utatJesp1QMC739IKA9hRU2-EEqzQUtuRW3rJZ8x3ug,4223
13
13
  gaussian_splatting/dataset/colmap/params_init.py,sha256=6_6gZ0Wl4aZrps2PJ_U234sxW5D-vOTfwioVa1FWC-E,1802
14
14
  gaussian_splatting/dataset/colmap/read_write_model.py,sha256=TenI7ai5UV7Ksg2vAXvJWnYFwOOo1tlS_633RfCLuQU,23137
15
- gaussian_splatting/diff_gaussian_rasterization/_C.cp311-win_amd64.pyd,sha256=T6zsRuYYBA0zQE0FQ5LtgU4dHOeeW0mgf9wyvclrVbY,1295360
15
+ gaussian_splatting/diff_gaussian_rasterization/_C.cp311-win_amd64.pyd,sha256=j7cEiAjcNJdeCrXP0uCz3RrFNRhJ05-iv6RdhEc288Y,1295360
16
16
  gaussian_splatting/diff_gaussian_rasterization/__init__.py,sha256=a9D0IZiPx-Mk1795hSq54T-NYT4MtEN_MZrxeMhw0Eo,6705
17
- gaussian_splatting/simple_knn/_C.cp311-win_amd64.pyd,sha256=Ps9XP33wvausn6EBpyL9bOlvmfMIqGsHbzSLeWCANkY,1164288
17
+ gaussian_splatting/simple_knn/_C.cp311-win_amd64.pyd,sha256=uz22RvgVlmsM3w1zBqPVDfJxDby3EQTMn7qLKeRRtY0,1164288
18
18
  gaussian_splatting/trainer/__init__.py,sha256=962fEY8A0spSQn5de_d_LkPOjA1PYKrLbuAkxwZo7mI,940
19
19
  gaussian_splatting/trainer/abc.py,sha256=kpYnJjLOhsyhE-V2J79EC9nih6MYBcXkmK9cHUA-3ao,4022
20
20
  gaussian_splatting/trainer/base.py,sha256=EQI_0q2t53XJyePE061_nIfACPb1-vfsFlmFoSM5OYw,2628
@@ -45,8 +45,8 @@ gaussian_splatting/utils/lpipsPyTorch/modules/__init__.py,sha256=47DEQpj8HBSa-_T
45
45
  gaussian_splatting/utils/lpipsPyTorch/modules/lpips.py,sha256=YScu0oXIEstCCjJVRItS_R_csUw70sBMFuP8Syl2UdI,1187
46
46
  gaussian_splatting/utils/lpipsPyTorch/modules/networks.py,sha256=kqIebq7dAhHypTXweFVEf_RDbN7_Zv7O3MlD-CfRvpg,2788
47
47
  gaussian_splatting/utils/lpipsPyTorch/modules/utils.py,sha256=TDcem3E3HqDNN2MT8qlOL_BKVHeO4HRE77JxF-kOWk8,915
48
- gaussian_splatting-1.16.12.dist-info/licenses/LICENSE.md,sha256=bMuRQKn0u485mx8JBBTJ5Simc-aWHaQsxmoB6jsg5oE,4752
49
- gaussian_splatting-1.16.12.dist-info/METADATA,sha256=1tsdCMjDvajp6BIkqV3RNdrAHDjBaohzDfjov5jseJ8,17029
50
- gaussian_splatting-1.16.12.dist-info/WHEEL,sha256=JLOMsP7F5qtkAkINx5UnzbFguf8CqZeraV8o04b0I8I,101
51
- gaussian_splatting-1.16.12.dist-info/top_level.txt,sha256=uaYrPYXRHhpybgCnsoazTcdhpzZGnLT_vd5eoRzBWWI,19
52
- gaussian_splatting-1.16.12.dist-info/RECORD,,
48
+ gaussian_splatting-1.16.14.dist-info/licenses/LICENSE.md,sha256=bMuRQKn0u485mx8JBBTJ5Simc-aWHaQsxmoB6jsg5oE,4752
49
+ gaussian_splatting-1.16.14.dist-info/METADATA,sha256=MQEdvS6W9xs6MpxbbFITE8tx52WyrxWrgH64Ksx8BPE,17029
50
+ gaussian_splatting-1.16.14.dist-info/WHEEL,sha256=JLOMsP7F5qtkAkINx5UnzbFguf8CqZeraV8o04b0I8I,101
51
+ gaussian_splatting-1.16.14.dist-info/top_level.txt,sha256=uaYrPYXRHhpybgCnsoazTcdhpzZGnLT_vd5eoRzBWWI,19
52
+ gaussian_splatting-1.16.14.dist-info/RECORD,,