2023-11-03 00:09:32,463 - modelscope - INFO - PyTorch version 2.0.1+cu117 Found.
2023-11-03 00:09:32,467 - modelscope - INFO - Loading ast index from C:\Users\Admin.cache\modelscope\ast_indexer
2023-11-03 00:09:32,582 - modelscope - INFO - Loading done! Current index file version is 1.8.1, with md5 a46873d50b184c3b12f04f6dd0884717 and a total number of 893 components indexed
2023-11-03 00:09:34,210 - modelscope - INFO - Use user-specified model revision: v1.1.0
Traceback (most recent call last):
File “E:\Big_AI\l2VGen-XL\main.py”, line 4, in
pipe = pipeline(task=“image-to-video”, model=‘damo/Image-to-Video’, model_revision=‘v1.1.0’, device=‘cuda:0’)
File “D:\Anaconda3\envs\human\lib\site-packages\modelscope\pipelines\builder.py”, line 106, in pipeline
model = normalize_model_input(
File “D:\Anaconda3\envs\human\lib\site-packages\modelscope\pipelines\builder.py”, line 33, in normalize_model_input
model = snapshot_download(
File “D:\Anaconda3\envs\human\lib\site-packages\modelscope\hub\snapshot_download.py”, line 149, in snapshot_download
http_get_file(
File “D:\Anaconda3\envs\human\lib\site-packages\modelscope\hub\file_download.py”, line 282, in http_get_file
retry = Retry(
TypeError: init() got an unexpected keyword argument ‘allowed_methods’
在modelscope下载模型的时候报错
urllib3版本低,升级一下就好
pip install urllib3 --upgrade