human-pose-estimation.pytorch icon indicating copy to clipboard operation
human-pose-estimation.pytorch copied to clipboard

AttributeError: module 'torch.nn' has no attribute 'ModuleDict'

Open khan958 opened this issue 6 years ago • 0 comments

File "C:\Users\Jackson\Anaconda3\envs\human_pose_estimation\lib\site-packages\torchvision\models\segmentation\segmentation.py", line 1, in from .._utils import IntermediateLayerGetter

File "C:\Users\Jackson\Anaconda3\envs\human_pose_estimation\lib\site-packages\torchvision\models_utils.py", line 7, in class IntermediateLayerGetter(nn.ModuleDict):

AttributeError: module 'torch.nn' has no attribute 'ModuleDict'

khan958 avatar Nov 04 '19 14:11 khan958