Skip to content

Commit

Permalink
Merge branch 'main' into sachi/ohifv3
Browse files Browse the repository at this point in the history
  • Loading branch information
SachidanandAlle authored Nov 22, 2024
2 parents 0ededd9 + ed0fdee commit fa3463c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions monailabel/deepedit/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@

import numpy as np
import torch
from monai.config import IgniteInfo
from monai.utils import min_version, optional_import
from monai.utils import IgniteInfo, min_version, optional_import
from monai.visualize import plot_2d_or_3d_image
from torch import distributed as dist
from torchvision.utils import make_grid
Expand Down
3 changes: 1 addition & 2 deletions sample-apps/pathology/lib/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
import numpy as np
import torch
import torch.distributed
from monai.config import IgniteInfo
from monai.metrics import compute_dice
from monai.utils import min_version, optional_import
from monai.utils import IgniteInfo, min_version, optional_import

Events, _ = optional_import("ignite.engine", IgniteInfo.OPT_IMPORT_VERSION, min_version, "Events")
make_grid, _ = optional_import("torchvision.utils", name="make_grid")
Expand Down

0 comments on commit fa3463c

Please sign in to comment.