runtime error
Exit code: 1. Reason: /usr/local/lib/python3.13/site-packages/fastai/learner.py:455: UserWarning: load_learner` uses Python's insecure pickle module, which can execute malicious arbitrary code when loading. Only load files you trust. If you only need to load model weights and optimizer state, use the safe `Learner.load` instead. warn("load_learner` uses Python's insecure pickle module, which can execute malicious arbitrary code when loading. Only load files you trust.\nIf you only need to load model weights and optimizer state, use the safe `Learner.load` instead.") Traceback (most recent call last): File "/app/app.py", line 75, in <module> learn = _load_learner_compat("eye_disease_model.pkl") File "/app/app.py", line 69, in _load_learner_compat return load_learner(path) File "/usr/local/lib/python3.13/site-packages/fastai/learner.py", line 457, in load_learner res = torch.load(fname, map_location=map_loc, pickle_module=pickle_module, **load_kwargs) File "/usr/local/lib/python3.13/site-packages/torch/serialization.py", line 1579, in load return _load( opened_zipfile, ...<3 lines>... **pickle_load_args, ) File "/usr/local/lib/python3.13/site-packages/torch/serialization.py", line 2190, in _load result = unpickler.load() File "/usr/local/lib/python3.13/pathlib/_local.py", line 860, in __new__ raise UnsupportedOperation( f"cannot instantiate {cls.__name__!r} on your system") pathlib._abc.UnsupportedOperation: cannot instantiate 'WindowsPath' on your system
Container logs:
Fetching error logs...