|
发表于 2025-2-9 12:23:16
|
显示全部楼层
打开后下载了很多模型,现在文件夹有31.1G大了。但最后提示【获取模型版本失败】。
我不在中国大陆,不用代理的。
----------------
2025-02-08 23:08:49,569 - modelscope - INFO - loading model from cache/modelscope\hub\damo\cv_ddsar_face-detection_iclr23-damofd\pytorch_model.pt
load checkpoint from local path: cache/modelscope\hub\damo\cv_ddsar_face-detection_iclr23-damofd\pytorch_model.pt
2025-02-08 23:08:49,617 - modelscope - INFO - load model done
2025-02-08 23:08:49,628 - modelscope - INFO - loading model from cache/modelscope\hub\damo\cv_resnet34_face-attribute-recognition_fairface\pytorch_model.pt
2025-02-08 23:08:50,077 - modelscope - INFO - load model done
2025-02-08 23:08:51,051 - 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 "M:\Downloads\FaceChain-V2\python\lib\site-packages\modelscope\hub\errors.py", line 91, in handle_http_response
response.raise_for_status()
File "M:\Downloads\FaceChain-V2\python\lib\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: ht*tps://modelscope.cn/api/v1/models/YorickHe/majicmixRealistic_v6/revisions?EndTime=1739074130
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "M:\Downloads\FaceChain-V2\app.py", line 574, in <module>
gen_portrait = GenPortrait()
File "M:\Downloads\FaceChain-V2\facechain\inference_fact.py", line 331, in __init__
base_model_path_maj = snapshot_download('YorickHe/majicmixRealistic_v6', revision='v1.0.0')
File "M:\Downloads\FaceChain-V2\python\lib\site-packages\modelscope\hub\snapshot_download.py", line 96, in snapshot_download
revision = _api.get_valid_revision(
File "M:\Downloads\FaceChain-V2\python\lib\site-packages\modelscope\hub\api.py", line 478, in get_valid_revision
all_revisions = self.list_model_revisions(
File "M:\Downloads\FaceChain-V2\python\lib\site-packages\modelscope\hub\api.py", line 448, in list_model_revisions
handle_http_response(r, logger, cookies, model_id)
File "M:\Downloads\FaceChain-V2\python\lib\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': '39114052-a1d0-4d5a-a119-74fd30a7cda5', 'Success': False}, Request id: 55d8c592a12f495a8ed6934f75852bcb
请按任意键继续. . .
|
|