runtime error
Exit code: 1. Reason: hub.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth" to /home/user/app/gfpgan/weights/detection_Resnet50_Final.pth 0%| | 0.00/104M [00:00<?, ?B/s][A 100%|██████████| 104M/104M [00:00<00:00, 315MB/s] Downloading: "https://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth" to /home/user/app/gfpgan/weights/parsing_parsenet.pth 0%| | 0.00/81.4M [00:00<?, ?B/s][A 100%|██████████| 81.4M/81.4M [00:00<00:00, 286MB/s] /usr/local/lib/python3.10/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3483.) return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined] Downloading: "https://github.com/JingyunLiang/SwinIR/releases/tag/v0.0/001_classicalSR_DF2K_s64w8_SwinIR-M_x4.pth" to /home/user/.cache/torch/hub/checkpoints/001_classicalSR_DF2K_s64w8_SwinIR-M_x4.pth 0.00B [00:00, ?B/s][A 195kB [00:00, 18.1MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 3, in <module> from model.dress_enhancer import enhance_clothes File "/home/user/app/model/dress_enhancer.py", line 33, in <module> swinir = load_swinir_model() File "/home/user/app/model/dress_enhancer.py", line 24, in load_swinir_model ckpt = torch.hub.load_state_dict_from_url(model_path, map_location='cpu') File "/usr/local/lib/python3.10/site-packages/torch/hub.py", line 750, in load_state_dict_from_url return torch.load(cached_file, map_location=map_location) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 815, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1033, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, '\x0a'.
Container logs:
Fetching error logs...