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.