开发者社区 > ModelScope模型即服务 > 计算机视觉 > 正文

本地运行报错

2023-05-09 10:54:07,483 - modelscope - INFO - PyTorch version 1.8.1+cu111 Found. 2023-05-09 10:54:07,486 - modelscope - INFO - Loading ast index from /home/cv/.cache/modelscope/ast_indexer 2023-05-09 10:54:07,528 - modelscope - INFO - Loading done! Current index file version is 1.5.2, with md5 2e395b7ea07383b987b49ad15396caac and a total number of 860 components indexed 2023-05-09 10:54:09,695 - modelscope - INFO - Model revision not specified, use the latest revision: v1.0.0 Downloading: 100%|███████████████████████████████████████████████████████████████████████████████████████████████| 2.60k/2.60k [00:00<00:00, 6.21MB/s] 2023-05-09 10:54:10,094 - modelscope - ERROR - File /home/cv/.cache/modelscope/hub/temp/tmpp4psixbq/configuration.json integrity check failed, the download may be incomplete, please try again. Traceback (most recent call last): File "BSHM_matting.py", line 4, in portrait_matting = pipeline('portrait-matting') File "/home/cv/.conda/envs/modelscope/lib/python3.7/site-packages/modelscope/pipelines/builder.py", line 127, in pipeline model = normalize_model_input(default_model_repo, model_revision) File "/home/cv/.conda/envs/modelscope/lib/python3.7/site-packages/modelscope/pipelines/builder.py", line 32, in normalize_model_input user_agent={Invoke.KEY: Invoke.PIPELINE}) File "/home/cv/.conda/envs/modelscope/lib/python3.7/site-packages/modelscope/hub/snapshot_download.py", line 146, in snapshot_download file_integrity_validation(temp_file, model_file[FILE_HASH]) File "/home/cv/.conda/envs/modelscope/lib/python3.7/site-packages/modelscope/hub/utils/utils.py", line 94, in file_integrity_validation raise FileIntegrityError(msg) modelscope.hub.errors.FileIntegrityError: File /home/cv/.cache/modelscope/hub/temp/tmpp4psixbq/configuration.json integrity check failed, the download may be incomplete, please try again.

展开
收起
圣者ay 2023-05-09 10:57:46 722 0
1 条回答
写回答
取消 提交回答
  • 这个要更新modelscope版本,我更新完版本就不报这个错

    2023-05-09 17:32:56
    赞同 展开评论 打赏

包含图像分类、图像生成、人体人脸识别、动作识别、目标分割、视频生成、卡通画、视觉评价、三维视觉等多个领域

热门讨论

热门文章

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载