Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
try:
from gsplat import rasterization
except ImportError:
logger.warn(
logger.warning(
"Dependency `gsplat` is required for rendering 3DGS. "
"Install via: pip install git+https://github.com/nerfstudio-project/"
"gsplat.git@0b4dddf04cb687367602c01196913cde6a743d70"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
except ImportError:
from .logger import logger

logger.warn("Dependency 'scipy' not found. Required for interpolating camera trajectory.")
logger.warning("Dependency 'scipy' not found. Required for interpolating camera trajectory.")

from .geometry import as_homogeneous

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def _unify_batch_shapes(

min_h = min(h for h, _ in out_sizes)
min_w = min(w for _, w in out_sizes)
logger.warn(
logger.warning(
f"Images in batch have different sizes {out_sizes}; "
f"center-cropping all to smallest ({min_h},{min_w})"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@ def debug(self, *args, **kwargs):

if __name__ == "__main__":
logger.info("This is an info message")
logger.warn("This is a warning message")
logger.warning("This is a warning message")
logger.error("This is an error message")
logger.debug("This is a debug message")
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
except ImportError:
from .logger import logger

logger.warn("Dependency 'e3nn' not found. Required for rotating the camera space SH coeff")
logger.warning("Dependency 'e3nn' not found. Required for rotating the camera space SH coeff")


def project_to_so3_strict(M: torch.Tensor) -> torch.Tensor:
Expand Down