runtime error

Using cpu device /home/user/.local/lib/python3.10/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead. warnings.warn( /home/user/.local/lib/python3.10/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=ResNet18_Weights.IMAGENET1K_V1`. You can also use `weights=ResNet18_Weights.DEFAULT` to get the most up-to-date weights. warnings.warn(msg) Downloading: "https://download.pytorch.org/models/resnet18-f37072fd.pth" to /home/user/.cache/torch/hub/checkpoints/resnet18-f37072fd.pth 0%| | 0.00/44.7M [00:00<?, ?B/s] 100%|██████████| 44.7M/44.7M [00:00<00:00, 167MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 40, in <module> resnet18.load_state_dict(torch.load(model_path, map_location=torch.device('cpu'))) File "/home/user/.local/lib/python3.10/site-packages/torch/serialization.py", line 1014, in load return _load(opened_zipfile, File "/home/user/.local/lib/python3.10/site-packages/torch/serialization.py", line 1422, in _load result = unpickler.load() File "/home/user/.local/lib/python3.10/site-packages/torch/serialization.py", line 1415, in find_class return super().find_class(mod_name, name) ModuleNotFoundError: No module named 'timm.models.layers.patch_embed'

Container logs:

Fetching error logs...