Awesome pre-trained models toolkit based on PaddlePaddle. (400+ models including Image, Text, Audio, Video and Cross-Modal with Easy Inference & Serving)【安全加固,暂停交互,请耐心等待】
错误:
Traceback (most recent call last):
File "d:\files\python_learn_aliyun\paddlehub2\test.py", line 13, in
da = module.generate_image(text_prompts="girl", artist='a',
File "D:\files\python_learn_aliyun\paddlehub2\paddlehub_py_3.9\lib\site-packages\paddlehub\compat\paddle_utils.py", line 220, in runner
return func(*args, **kwargs)
File "C:\Users\manager.paddlehub\modules\disco_diffusion_cnclip_vitb16\module.py", line 137, in generate_image
return create(text_prompts=text_prompts,
File "C:\Users\manager.paddlehub\modules\disco_diffusion_cnclip_vitb16\reverse_diffusion__init.py", line 127, in create
from .config import load_config
File "C:\Users\manager.paddlehub\modules\disco_diffusion_cnclip_vitb16\reverse_diffusion\config.py", line 16, in
default_args = yaml.load(ymlfile, Loader=Loader)
File "D:\files\python_learn_aliyun\paddlehub2\paddlehub_py_3.9\lib\site-packages\yaml\init.py", line 79, in load
loader = Loader(stream)
File "D:\files\python_learn_aliyun\paddlehub2\paddlehub_py_3.9\lib\site-packages\yaml\loader.py", line 44, in init
Reader.init(self, stream)
File "D:\files\python_learn_aliyun\paddlehub2\paddlehub_py_3.9\lib\site-packages\yaml\reader.py", line 85, in init__
self.determine_encoding()
File "D:\files\python_learn_aliyun\paddlehub2\paddlehub_py_3.9\lib\site-packages\yaml\reader.py", line 124, in determine_encoding
self.update_raw()
File "D:\files\python_learn_aliyun\paddlehub2\paddlehub_py_3.9\lib\site-packages\yaml\reader.py", line 178, in update_raw
data = self.stream.read(size)
UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 70: illegal multibyte sequence
错误: Traceback (most recent call last): File "d:\files\python_learn_aliyun\paddlehub2\test.py", line 13, in
da = module.generate_image(text_prompts="girl", artist='a',
File "D:\files\python_learn_aliyun\paddlehub2\paddlehub_py_3.9\lib\site-packages\paddlehub\compat\paddle_utils.py", line 220, in runner
return func(*args, **kwargs)
File "C:\Users\manager.paddlehub\modules\disco_diffusion_cnclip_vitb16\module.py", line 137, in generate_image
return create(text_prompts=text_prompts,
File "C:\Users\manager.paddlehub\modules\disco_diffusion_cnclip_vitb16\reverse_diffusion__init.py", line 127, in create
from .config import load_config
File "C:\Users\manager.paddlehub\modules\disco_diffusion_cnclip_vitb16\reverse_diffusion\config.py", line 16, in
default_args = yaml.load(ymlfile, Loader=Loader)
File "D:\files\python_learn_aliyun\paddlehub2\paddlehub_py_3.9\lib\site-packages\yaml\ init.py", line 79, in load
loader = Loader(stream)
File "D:\files\python_learn_aliyun\paddlehub2\paddlehub_py_3.9\lib\site-packages\yaml\loader.py", line 44, in init
Reader.init(self, stream)
File "D:\files\python_learn_aliyun\paddlehub2\paddlehub_py_3.9\lib\site-packages\yaml\reader.py", line 85, in init__
self.determine_encoding()
File "D:\files\python_learn_aliyun\paddlehub2\paddlehub_py_3.9\lib\site-packages\yaml\reader.py", line 124, in determine_encoding
self.update_raw()
File "D:\files\python_learn_aliyun\paddlehub2\paddlehub_py_3.9\lib\site-packages\yaml\reader.py", line 178, in update_raw
data = self.stream.read(size)
UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 70: illegal multibyte sequence