{"Code":10010205001,"Message":"获取模型版本失败,信息:record not found","RequestId":"232f7135-03bc-4108-accb-bf39b06abfe6","Success":false}
https://www.modelscope.cn/api/v1/models/YorickHe/majicmixRealistic_v6/revisions?EndTime=1744190094
2025-04-09 17:14:53,717 - 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
2025-04-09 17:14:53,746 - modelscope - INFO - load model done
2025-04-09 17:14:53,750 - modelscope - INFO - loading model from /mnt/workspace/.cache/modelscope/damo/cv_resnet34_face-attribute-recognition_fairface/pytorch_model.pt
2025-04-09 17:14:53,988 - modelscope - INFO - load model done
2025-04-09 17:14:54,288 - 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=1744190094
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/facechain/app.py", line 574, in <module>
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': '704482b6-7205-4215-a33a-4ae41fb5867b', 'Success': False}, Request id: 9e0e2896d9324b0a8083b963ca196111
关闭于 2025-04-09 1 条评论