Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行代码时报错:生成图片超限,如何解决? #2314

Open
wm-95 opened this issue Dec 4, 2023 · 1 comment
Open

运行代码时报错:生成图片超限,如何解决? #2314

wm-95 opened this issue Dec 4, 2023 · 1 comment
Assignees

Comments

@wm-95
Copy link

wm-95 commented Dec 4, 2023

PaddleHub2.4.0,PaddlePaddle2.5.2
系统环境:Windows
python版本:3.9.18
报错:在进行预测代码示例中,运行images = module.generate_image(text_prompts=text_prompts, style='油画', output_dir='./ernie_vilg_out/')后报错
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\k\anaconda3\envs\wm\lib\site-packages\paddlehub\compat\paddle_utils.py", line 221, in runner
return func(*args, **kwargs)
File "C:\Users\k.paddlehub\modules\ernie_vilg\module.py", line 121, in generate_image
raise RuntimeError(res['msg'])
RuntimeError: 生成图片超限

@michaelowenliu
Copy link
Collaborator

能在res['msg']前面打印下内容吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants