runtime error
deprecated in 0.15 and will be **removed in 0.17**. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional. warnings.warn( Downloading: "https://huggingface.co/lllyasviel/Annotators/resolve/main/body_pose_model.pth" to /home/user/app/checkpoints/openpose/ckpts/body_pose_model.pth Traceback (most recent call last): File "/home/user/app/./run/gradio_ootd.py", line 19, in <module> openpose_model_hd = OpenPose(0) File "/home/user/app/preprocess/openpose/run_openpose.py", line 33, in __init__ self.preprocessor = OpenposeDetector() File "/home/user/app/preprocess/openpose/annotator/openpose/__init__.py", line 53, in __init__ load_file_from_url(body_model_path, model_dir=annotator_ckpts_path) File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/basicsr/utils/download_util.py", line 98, in load_file_from_url download_url_to_file(url, cached_file, hash_prefix=None, progress=progress) File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/torch/hub.py", line 611, in download_url_to_file u = urlopen(req) File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/urllib/request.py", line 216, in urlopen return opener.open(url, data, timeout) File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/urllib/request.py", line 525, in open response = meth(req, response) File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/urllib/request.py", line 634, in http_response response = self.parent.error( File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/urllib/request.py", line 563, in error return self._call_chain(*args) File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/urllib/request.py", line 496, in _call_chain result = func(*args) File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/urllib/request.py", line 643, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 502: Bad Gateway
Container logs:
Fetching error logs...