|
发表于 2025-2-9 14:37:18
|
显示全部楼层
这个补丁和原来的文件都是不同的,没有覆盖提示。拷进去根目录运行后仍然有问题。
------
2025-02-09 01:26:43,564 - mmcv - INFO -
pafpn_convs.1.conv.weight - torch.Size([16, 16, 3, 3]):
XavierInit: gain=1, distribution=uniform, bias=0
2025-02-09 01:26:43,579 - mmcv - INFO -
pafpn_convs.1.conv.bias - torch.Size([16]):
The value is the same before and after calling `init_weights` of PAFPN
2025-02-09 01:26:43,580 - 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-09 01:26:43,776 - modelscope - INFO - load model done
2025-02-09 01:26:44,357 - modelscope - INFO - loading model from cache/modelscope\hub\damo\cv_resnet34_face-attribute-recognition_fairface\pytorch_model.pt
2025-02-09 01:26:45,935 - modelscope - INFO - load model done
2025-02-09 01:26:46,788 - 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://ww*w.modelscope.cn/api/v1/models/YorickHe/majicmixRealistic_v6/revisions?EndTime=1739082406
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': '55454c5d-b6bd-40ec-b2e9-054dd3575980', 'Success': False}, Request id: 51e1b38eba3347b79d9f4b0a55d1fd22
请按任意键继续. . . |
|