reduced-3dgs 1.10.9__cp310-cp310-win_amd64.whl → 1.10.10__cp310-cp310-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 reduced-3dgs might be problematic. Click here for more details.
- reduced_3dgs/diff_gaussian_rasterization/_C.cp310-win_amd64.pyd +0 -0
- reduced_3dgs/importance/diff_gaussian_rasterization/_C.cp310-win_amd64.pyd +0 -0
- reduced_3dgs/simple_knn/_C.cp310-win_amd64.pyd +0 -0
- reduced_3dgs/train.py +7 -2
- {reduced_3dgs-1.10.9.dist-info → reduced_3dgs-1.10.10.dist-info}/METADATA +1 -1
- {reduced_3dgs-1.10.9.dist-info → reduced_3dgs-1.10.10.dist-info}/RECORD +9 -9
- {reduced_3dgs-1.10.9.dist-info → reduced_3dgs-1.10.10.dist-info}/WHEEL +0 -0
- {reduced_3dgs-1.10.9.dist-info → reduced_3dgs-1.10.10.dist-info}/licenses/LICENSE.md +0 -0
- {reduced_3dgs-1.10.9.dist-info → reduced_3dgs-1.10.10.dist-info}/top_level.txt +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
reduced_3dgs/train.py
CHANGED
|
@@ -27,7 +27,7 @@ def prepare_training(
|
|
|
27
27
|
|
|
28
28
|
def training(dataset: CameraDataset, gaussians: GaussianModel, trainer: AbstractTrainer, quantizer: AbstractQuantizer, destination: str, iteration: int, save_iterations: List[int], device: str, empty_cache_every_step=False):
|
|
29
29
|
shutil.rmtree(os.path.join(destination, "point_cloud"), ignore_errors=True) # remove the previous point cloud
|
|
30
|
-
pbar = tqdm(range(1, iteration+1))
|
|
30
|
+
pbar = tqdm(range(1, iteration+1), dynamic_ncols=True, desc="Training")
|
|
31
31
|
epoch = list(range(len(dataset)))
|
|
32
32
|
epoch_psnr = torch.empty(3, 0, device=device)
|
|
33
33
|
ema_loss_for_log = 0.0
|
|
@@ -43,8 +43,13 @@ def training(dataset: CameraDataset, gaussians: GaussianModel, trainer: Abstract
|
|
|
43
43
|
if empty_cache_every_step:
|
|
44
44
|
torch.cuda.empty_cache()
|
|
45
45
|
with torch.no_grad():
|
|
46
|
+
ground_truth_image = dataset[idx].ground_truth_image
|
|
47
|
+
rendered_image = out["render"]
|
|
48
|
+
if dataset[idx].ground_truth_image_mask is not None:
|
|
49
|
+
ground_truth_image *= dataset[idx].ground_truth_image_mask
|
|
50
|
+
rendered_image *= dataset[idx].ground_truth_image_mask
|
|
46
51
|
ema_loss_for_log = 0.4 * loss.item() + 0.6 * ema_loss_for_log
|
|
47
|
-
epoch_psnr = torch.concat([epoch_psnr, psnr(
|
|
52
|
+
epoch_psnr = torch.concat([epoch_psnr, psnr(rendered_image, ground_truth_image)], dim=1)
|
|
48
53
|
if step % 10 == 0:
|
|
49
54
|
pbar.set_postfix({'epoch': step // len(dataset), 'loss': ema_loss_for_log, 'psnr': avg_psnr_for_log, 'n': gaussians._xyz.shape[0]})
|
|
50
55
|
if step in save_iterations:
|
|
@@ -2,13 +2,13 @@ reduced_3dgs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
2
2
|
reduced_3dgs/combinations.py,sha256=dRrtTIQLggUP22Olp0DVSlD0C8YDgnrpTlrCcGZyWM0,9441
|
|
3
3
|
reduced_3dgs/prepare.py,sha256=MFUUckRHKfgcva4ZOBxfPFyE95N-OlCQLplpmEPuzOk,4440
|
|
4
4
|
reduced_3dgs/quantize.py,sha256=BVqBb2tQgiP3hap5-OByD8VELtJJGfEeFzaVFyzCJZU,2572
|
|
5
|
-
reduced_3dgs/train.py,sha256=
|
|
6
|
-
reduced_3dgs/diff_gaussian_rasterization/_C.cp310-win_amd64.pyd,sha256=-
|
|
5
|
+
reduced_3dgs/train.py,sha256=0An36u1xTXAQYn2_y85C84YdfJHkno387O5nlxaKYZI,6205
|
|
6
|
+
reduced_3dgs/diff_gaussian_rasterization/_C.cp310-win_amd64.pyd,sha256=-690N6s0R9jzpFuN3gEpXRGeoP-exdQrbKV0WwqlSbM,1610752
|
|
7
7
|
reduced_3dgs/diff_gaussian_rasterization/__init__.py,sha256=oV6JjTc-50MscX4XHeIWSgLr3l8Y25knBIs-0gRbJr4,7932
|
|
8
8
|
reduced_3dgs/importance/__init__.py,sha256=neJsbY5cLikEGBQGdR4MjwCQ5VWVikT1357DwL0EtWU,289
|
|
9
9
|
reduced_3dgs/importance/combinations.py,sha256=F9IYDZ6iquZw5Djn2An88dlp2MUGieAyuZyVaDZdSts,2962
|
|
10
10
|
reduced_3dgs/importance/trainer.py,sha256=Sj4ORvoYtFT7z3hifzFZDfhFyqumHraXyk3vMVtk0AU,12661
|
|
11
|
-
reduced_3dgs/importance/diff_gaussian_rasterization/_C.cp310-win_amd64.pyd,sha256=
|
|
11
|
+
reduced_3dgs/importance/diff_gaussian_rasterization/_C.cp310-win_amd64.pyd,sha256=YUNgI83bLLDKf2U7nLGltc-hZHRMTahFnK4ED4-CiB8,1302016
|
|
12
12
|
reduced_3dgs/importance/diff_gaussian_rasterization/__init__.py,sha256=Tix8auyXBb_QFQtXrV3sLE9kdnl5zgHH0BbqcFzDp84,12850
|
|
13
13
|
reduced_3dgs/pruning/__init__.py,sha256=E_YxJ9cDV_B6EJbYUBEcuRYMIht_C72rI1VJUXFCLpM,201
|
|
14
14
|
reduced_3dgs/pruning/combinations.py,sha256=xO39d08DEsDnKI5np_1xQ4H29O486Q_cThLfWhlH810,2385
|
|
@@ -21,9 +21,9 @@ reduced_3dgs/quantization/wrapper.py,sha256=cyXqfJgo9b3fS7DYXxOk5LmQudvrEhweOebF
|
|
|
21
21
|
reduced_3dgs/shculling/__init__.py,sha256=nP2BejDCUdCmJNRbg0hfhHREO6jyZXwIcRiw6ttVgqo,149
|
|
22
22
|
reduced_3dgs/shculling/gaussian_model.py,sha256=f8QWaL09vaV9Tcf6Dngjg_Fmk1wTQPAjWhuhI_N02Y8,2877
|
|
23
23
|
reduced_3dgs/shculling/trainer.py,sha256=9hwR77djhZpyf-URhwKHjnLbe0ZAOS-DIw58RzkcHXQ,6369
|
|
24
|
-
reduced_3dgs/simple_knn/_C.cp310-win_amd64.pyd,sha256=
|
|
25
|
-
reduced_3dgs-1.10.
|
|
26
|
-
reduced_3dgs-1.10.
|
|
27
|
-
reduced_3dgs-1.10.
|
|
28
|
-
reduced_3dgs-1.10.
|
|
29
|
-
reduced_3dgs-1.10.
|
|
24
|
+
reduced_3dgs/simple_knn/_C.cp310-win_amd64.pyd,sha256=S8J2mOHehfWnVcDRLkihpPbivbwG5oKCqh-Np5cOCrU,1248768
|
|
25
|
+
reduced_3dgs-1.10.10.dist-info/licenses/LICENSE.md,sha256=LQ4_LAqlncGkg_mQy5ykMAFtQDSPB0eKmIEtBut0yjw,4916
|
|
26
|
+
reduced_3dgs-1.10.10.dist-info/METADATA,sha256=c75WD2Y-fK04loLm_fTuX3O1uIjJs5Xia0byAebU_co,12404
|
|
27
|
+
reduced_3dgs-1.10.10.dist-info/WHEEL,sha256=KUuBC6lxAbHCKilKua8R9W_TM71_-9Sg5uEP3uDWcoU,101
|
|
28
|
+
reduced_3dgs-1.10.10.dist-info/top_level.txt,sha256=PpU5aT3-baSCdqCtTaZknoB32H93UeKCkYDkRCCZMEI,13
|
|
29
|
+
reduced_3dgs-1.10.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|