Skip to content

Commit a9f547c

Browse files
Update morphological ops path (#1778)
Fixes # . ### Description This PR is used to update the path of morphological path according to MONAI core changes: Project-MONAI/MONAI#7995. ### Checks <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [ ] Avoid including large-size files in the PR. - [ ] Clean up long text outputs from code cells in the notebook. - [ ] For security purposes, please check the contents and remove any sensitive info such as user names and private key. - [ ] Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the `./figure` folder - [ ] Notebook runs automatically `./runner.sh -t <path to .ipynb file>` Signed-off-by: Yiheng Wang <[email protected]>
1 parent 1c942f4 commit a9f547c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generation/maisi/scripts/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import skimage
2222
import torch
2323
import torch.distributed as dist
24-
from monai.apps.generation.maisi.utils.morphological_ops import dilate, erode
24+
from monai.transforms.morphological_ops import dilate, erode
2525
from monai.bundle import ConfigParser
2626
from monai.config import DtypeLike, NdarrayOrTensor
2727
from monai.data import CacheDataset, DataLoader, partition_dataset

0 commit comments

Comments
 (0)