|
发表于 2024-9-14 00:10:20
|
显示全部楼层
就是到 “工作服” 这里就报错。我还特意把已经下载的删掉,重新启动后很快就重新下载完成。有没有可能是“工作服”这个模型出错了呢?
工作服(Working suit)
2024-09-14 00:06:46,616 - modelscope - INFO - Use user-specified model revision: v1.0.1
2024-09-14 00:06:48,358 - modelscope - INFO - Use user-specified model revision: v1.0.1
C:\FaceChain-V2\python\lib\site-packages\mmcv\__init__.py:20: UserWarning: On January 1, 2023, MMCV will release v2.0.0, in which it will remove components related to the training process and add a data transformation module. In addition, it will rename the package names mmcv to mmcv-lite and mmcv-full to mmcv. See https://github.com/open-mmlab/mmcv/blob/master/docs/en/compatibility.md for more details.
warnings.warn(
2024-09-14 00:06:49,552 - modelscope - INFO - initiate model from cache/modelscope\hub\damo\cv_resnet101_image-multiple-human-parsing
2024-09-14 00:06:49,554 - modelscope - INFO - initiate model from location cache/modelscope\hub\damo\cv_resnet101_image-multiple-human-parsing.
2024-09-14 00:06:49,555 - modelscope - INFO - initialize model from cache/modelscope\hub\damo\cv_resnet101_image-multiple-human-parsing
2024-09-14 00:06:49,978 - modelscope - INFO - loading model from cache/modelscope\hub\damo\cv_resnet101_image-multiple-human-parsing\pytorch_model.pt
2024-09-14 00:06:50,529 - modelscope - INFO - criterion.empty_weight doesn't exist in current model, skip loading.
2024-09-14 00:06:50,553 - modelscope - INFO - load model done
2024-09-14 00:06:50,565 - modelscope - WARNING - No preprocessor field found in cfg.
2024-09-14 00:06:50,566 - modelscope - WARNING - No val key and type key found in preprocessor domain of configuration.json file.
2024-09-14 00:06:50,566 - modelscope - WARNING - Cannot find available config to build preprocessor at mode inference, current config: {'model_dir': 'cache/modelscope\\hub\\damo\\cv_resnet101_image-multiple-human-parsing'}. trying to build by task and model information.
2024-09-14 00:06:50,566 - modelscope - WARNING - No preprocessor key ('m2fp', 'image-segmentation') found in PREPROCESSOR_MAP, skip building preprocessor.
2024-09-14 00:06:51,429 - modelscope - INFO - Use user-specified model revision: v1.0.3
Traceback (most recent call last):
File "C:\FaceChain-V2\python\lib\site-packages\modelscope\hub\file_download.py", line 312, in http_get_file
r.raise_for_status()
File "C:\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: 500 Server Error: Internal Server Error for url: https://www.modelscope.cn/api/v1/models/damo/cv_unet_face_fusion_torch/repo?Revision=v1.0.3&FilePath=image_face_fusion/facegan/__init__.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\FaceChain-V2\app.py", line 574, in <module>
gen_portrait = GenPortrait()
File "C:\FaceChain-V2\facechain\inference_fact.py", line 297, in __init__
self.image_face_fusion = pipeline('face_fusion_torch',
File "C:\FaceChain-V2\python\lib\site-packages\modelscope\pipelines\builder.py", line 115, in pipeline
model = normalize_model_input(
File "C:\FaceChain-V2\python\lib\site-packages\modelscope\pipelines\builder.py", line 36, in normalize_model_input
model = snapshot_download(
File "C:\FaceChain-V2\python\lib\site-packages\modelscope\hub\snapshot_download.py", line 149, in snapshot_download
http_get_file(
File "C:\FaceChain-V2\python\lib\site-packages\modelscope\hub\file_download.py", line 332, in http_get_file
retry = retry.increment('GET', url, error=e)
File "C:\FaceChain-V2\python\lib\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: https://www.modelscope.cn/api/v1/models/damo/cv_unet_face_fusion_torch/repo?Revision=v1.0.3&FilePath=image_face_fusion/facegan/__init__.py (Caused by HTTPError('500 Server Error: Internal Server Error for url: https://www.modelscope.cn/api/v1/models/damo/cv_unet_face_fusion_torch/repo?Revision=v1.0.3&FilePath=image_face_fusion/facegan/__init__.py'))
请按任意键继续. . . |
|