Skip to content

Commit

Permalink
Update morphological ops path (#1778)
Browse files Browse the repository at this point in the history
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 <vennw@nvidia.com>
  • Loading branch information
yiheng-wang-nv authored Aug 12, 2024
1 parent 1c942f4 commit a9f547c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generation/maisi/scripts/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import skimage
import torch
import torch.distributed as dist
from monai.apps.generation.maisi.utils.morphological_ops import dilate, erode
from monai.transforms.morphological_ops import dilate, erode
from monai.bundle import ConfigParser
from monai.config import DtypeLike, NdarrayOrTensor
from monai.data import CacheDataset, DataLoader, partition_dataset
Expand Down

0 comments on commit a9f547c

Please sign in to comment.