Skip to content

Commit

Permalink
Trying a better way of getting length
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Kerfoot <[email protected]>
  • Loading branch information
ericspod committed Dec 18, 2024
1 parent 83e0ae6 commit 97dd0df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions monai/engines/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
from __future__ import annotations

import warnings
from collections.abc import Callable, Iterable, Sequence
from collections.abc import Callable, Iterable, Sequence, Sized
from typing import TYPE_CHECKING, Any
from collections.abc import Sized

import torch
import torch.distributed as dist
Expand Down

0 comments on commit 97dd0df

Please sign in to comment.