Spaces:
Build error
Build error
Fix type annotation
Browse files83 unmodified lines8485868788899083 unmodified linesreturn data@staticmethoddef process_mask(mask: torch.Tensor) -> torch.Tensor:if mask.shape != (512, 256, 3):return Noneseg_map = np.full(mask.shape[:-1], -1)83 unmodified lines8485868788899083 unmodified linesreturn data@staticmethoddef process_mask(mask: np.ndarray) -> np.ndarray:if mask.shape != (512, 256, 3):return Noneseg_map = np.full(mask.shape[:-1], -1)
model.py+1-1