Hugging Face's logo
yst990102
/
Runtime error

runtime error

ied, use the latest revision: v1.0.0 Traceback (most recent call last): File "/opt/conda/lib/python3.7/site-packages/modelscope/hub/file_download.py", line 228, in http_get_file r.raise_for_status() File "/opt/conda/lib/python3.7/site-packages/requests/models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: http://www.modelscope.cn/api/v1/models/damo/cv_unet_universal-matting/repo?Revision=v1.0.0&FilePath=configuration.json During handling of the above exception, another exception occurred: Traceback (most recent call last): File "main.py", line 32, in <module> from pages.removebg import removeBgApplication File "/opt/fuxi-ai/pages/removebg.py", line 10, in <module> universal_matting = pipeline(Tasks.universal_matting, model='damo/cv_unet_universal-matting') File "/opt/conda/lib/python3.7/site-packages/modelscope/pipelines/builder.py", line 100, in pipeline model = normalize_model_input(model, model_revision) File "/opt/conda/lib/python3.7/site-packages/modelscope/pipelines/builder.py", line 32, in normalize_model_input user_agent={Invoke.KEY: Invoke.PIPELINE}) File "/opt/conda/lib/python3.7/site-packages/modelscope/hub/snapshot_download.py", line 142, in snapshot_download cookies=cookies) File "/opt/conda/lib/python3.7/site-packages/modelscope/hub/file_download.py", line 248, in http_get_file retry = retry.increment('GET', url, error=e) File "/opt/conda/lib/python3.7/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: None: Max retries exceeded with url: http://www.modelscope.cn/api/v1/models/damo/cv_unet_universal-matting/repo?Revision=v1.0.0&FilePath=configuration.json (Caused by HTTPError('502 Server Error: Bad Gateway for url: http://www.modelscope.cn/api/v1/models/damo/cv_unet_universal-matting/repo?Revision=v1.0.0&FilePath=configuration.json'))

Container logs:

Fetching error logs...