diff --git a/gaussian_splatting/lpipsPyTorch/__init__.py b/gaussian_splatting/metrics/lpipPyTorch/__init__.py similarity index 100% rename from gaussian_splatting/lpipsPyTorch/__init__.py rename to gaussian_splatting/metrics/lpipPyTorch/__init__.py diff --git a/gaussian_splatting/lpipsPyTorch/modules/lpips.py b/gaussian_splatting/metrics/lpipPyTorch/modules/lpips.py similarity index 100% rename from gaussian_splatting/lpipsPyTorch/modules/lpips.py rename to gaussian_splatting/metrics/lpipPyTorch/modules/lpips.py diff --git a/gaussian_splatting/lpipsPyTorch/modules/networks.py b/gaussian_splatting/metrics/lpipPyTorch/modules/networks.py similarity index 100% rename from gaussian_splatting/lpipsPyTorch/modules/networks.py rename to gaussian_splatting/metrics/lpipPyTorch/modules/networks.py diff --git a/gaussian_splatting/lpipsPyTorch/modules/utils.py b/gaussian_splatting/metrics/lpipPyTorch/modules/utils.py similarity index 100% rename from gaussian_splatting/lpipsPyTorch/modules/utils.py rename to gaussian_splatting/metrics/lpipPyTorch/modules/utils.py diff --git a/scripts/metrics.py b/scripts/metrics.py index e6fd54292..901c3d193 100644 --- a/scripts/metrics.py +++ b/scripts/metrics.py @@ -19,7 +19,7 @@ from PIL import Image from tqdm import tqdm -from gaussian_splatting.lpipsPyTorch import lpips +from gaussian_splatting.metrics.lpipsPyTorch import lpips from gaussian_splatting.utils.image import psnr from gaussian_splatting.utils.loss import ssim