Skip to content

Commit

Permalink
fix tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
yxlao committed Nov 25, 2023
1 parent aad5a53 commit ea1acb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion camtools/metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import torch
import lpips
from pathlib import Path
from typing import Tuple

from . import image
from . import io
Expand Down Expand Up @@ -196,7 +197,7 @@ def load_im_pd_im_gt_im_mask_for_eval(
im_gt_path: Path,
im_mask_path: Path = None,
alpha_mode: str = "white",
) -> tuple[np.ndarray, np.ndarray, np.ndarray]:
) -> Tuple[np.ndarray, np.ndarray, np.ndarray]:
"""
Load prediction, ground truth, and mask images for image metric evaluation.
Expand Down

0 comments on commit ea1acb7

Please sign in to comment.