Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker 镜像运行失败,获取模型版本失败,信息:record not found,app.py, #634

Open
ximo2002 opened this issue Dec 31, 2024 · 0 comments

Comments

@ximo2002
Copy link

2024-12-31 15:25:29,917 - modelscope - INFO - loading model from /mnt/workspace/.cache/modelscope/damo/cv_ddsar_face-detection_iclr23-damofd/pytorch_model.pt
load checkpoint from local path: /mnt/workspace/.cache/modelscope/damo/cv_ddsar_face-detection_iclr23-damofd/pytorch_model.pt
2024-12-31 15:25:30,015 - modelscope - INFO - load model done
2024-12-31 15:25:30,026 - modelscope - INFO - loading model from /mnt/workspace/.cache/modelscope/damo/cv_resnet34_face-attribute-recognition_fairface/pytorch_model.pt
2024-12-31 15:25:30,336 - modelscope - INFO - load model done
2024-12-31 15:25:30,605 - modelscope - ERROR - Authentication token does not exist, failed to access model YorickHe/majicmixRealistic_v6 which may not exist or may be private. Please login first.
Traceback (most recent call last):
File "/opt/conda/lib/python3.10/site-packages/modelscope/hub/errors.py", line 91, in handle_http_response
response.raise_for_status()
File "/opt/conda/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://www.modelscope.cn/api/v1/models/YorickHe/majicmixRealistic_v6/revisions?EndTime=1735629930

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/facechain/app.py", line 574, in
gen_portrait = GenPortrait()
File "/facechain/facechain/inference_fact.py", line 331, in init
base_model_path_maj = snapshot_download('YorickHe/majicmixRealistic_v6', revision='v1.0.0')
File "/opt/conda/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 96, in snapshot_download
revision = _api.get_valid_revision(
File "/opt/conda/lib/python3.10/site-packages/modelscope/hub/api.py", line 478, in get_valid_revision
all_revisions = self.list_model_revisions(
File "/opt/conda/lib/python3.10/site-packages/modelscope/hub/api.py", line 448, in list_model_revisions
handle_http_response(r, logger, cookies, model_id)
File "/opt/conda/lib/python3.10/site-packages/modelscope/hub/errors.py", line 98, in handle_http_response
raise HTTPError('Response details: %s, Request id: %s' %
requests.exceptions.HTTPError: Response details: {'Code': 10010205001, 'Message': '获取模型版本失败,信息:record not found', 'RequestId': '44f39fc1-156b-44ce-b9ea-5f3132656132', 'Success': False}, Request id: 0e1dcea17f644355b103e95f175b3260
root@875227e2dea2:/facechain#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant