-
Notifications
You must be signed in to change notification settings - Fork 1.5k
issue with LoadNifti & denseNet121 in V.0.5.0 #2032
Copy link
Copy link
Labels
questionFurther information is requestedFurther information is requested
Description
Previously the following codes was working
but it showed error messages and could not continue:
!pip install -q "monai[gdown, nibabel, tqdm]"
from monai.transforms import
Compose, AddChanneld, ScaleIntensityd, ToTensord, RandRotated, RandFlipd, RandZoomd, Spacingd, SpatialPadd, CenterSpatialCropd , LoadNiftid
from monai.networks.nets import densenet121
Below are the errors:
ImportError: cannot import name 'LoadNiftid' from 'monai.transforms' (/usr/local/lib/python3.7/dist-packages/monai/transforms/init.py)
ImportError: cannot import name 'densenet121' from 'monai.networks.nets' (/usr/local/lib/python3.7/dist-packages/monai/networks/nets/init.py)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested