Skip to content

Commit 6d41595

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e714a3c commit 6d41595

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

monai/losses/focal_loss.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
from __future__ import annotations
1313

1414
import warnings
15-
from typing import Optional, Sequence
15+
from typing import Optional
16+
from collections.abc import Sequence
1617

1718
import torch
1819
import torch.nn.functional as F

0 commit comments

Comments
 (0)