nutritious-flower-32708
10/04/2022, 3:32 AMAttributeError: module 'torch' has no attribute 'nn'
tall-lock-23197
thankful-minister-83577
thankful-minister-83577
>>> import torch
>>> type(torch.nn)
<class 'module'>
>>> type(torch.nn.Module)
<class 'type'>
nutritious-flower-32708
10/04/2022, 9:38 PMnutritious-flower-32708
10/04/2022, 9:41 PMtall-lock-23197
torch.nn
working in your Python interpreter?nutritious-flower-32708
10/06/2022, 6:27 AMtall-lock-23197
pyflyte register --image <http://ghcr.io/flyteorg/flytecookbook:core-latest|ghcr.io/flyteorg/flytecookbook:core-latest> pytorch_types.py
.tall-lock-23197