runtime error

Exit code: 1. Reason: from . import xresnet File "/usr/local/lib/python3.10/site-packages/fastai/vision/models/xresnet.py", line 7, in <module> from ...torch_basics import * File "/usr/local/lib/python3.10/site-packages/fastai/torch_basics.py", line 1, in <module> from torch import multiprocessing File "/usr/local/lib/python3.10/site-packages/torch/__init__.py", line 870, in <module> from . import _masked File "/usr/local/lib/python3.10/site-packages/torch/_masked/__init__.py", line 420, in <module> def sum(input: Tensor, File "/usr/local/lib/python3.10/site-packages/torch/_masked/__init__.py", line 223, in _apply_docstring_templates example_input = torch.tensor([[-3, -2, -1], [0, 1, 2]]) /usr/local/lib/python3.10/site-packages/torch/_masked/__init__.py:223: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:68.) example_input = torch.tensor([[-3, -2, -1], [0, 1, 2]]) /usr/local/lib/python3.10/site-packages/timm/models/layers/__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning) Traceback (most recent call last): File "/home/user/app/app.py", line 11, in <module> learn = load_learner('model.pkl') File "/usr/local/lib/python3.10/site-packages/fastai/learner.py", line 448, in load_learner try: res = torch.load(fname, map_location=map_loc, pickle_module=pickle_module) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 712, in load return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1046, in _load result = unpickler.load() File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1039, in find_class return super().find_class(mod_name, name) ModuleNotFoundError: No module named 'timm.models.layers.norm'

Container logs:

Fetching error logs...