文生图Demo执行后output图片生成不出来[Bug]
Prerequisite
- [X] I have searched Issues and Discussions but cannot get the expected help.
- [X] I have read the FAQ documentation but cannot get the expected help.
- [X] The bug has not been fixed in the latest version (main) or latest version (0.x).
Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
main branch https://github.com/open-mmlab/mmagic
Environment
python mmagic/utils/collect_env.py
Traceback (most recent call last):
File "mmagic/utils/collect_env.py", line 2, in
Reproduces the problem - code sample
from mmagic.apis import MMagicInferencer sd_inferencer = MMagicInferencer(model_name='stable_diffusion') text_prompts = 'A panda is having dinner at KFC' result_out_dir = './output/sd_res.png' sd_inferencer.infer(text=text_prompts, result_out_dir=result_out_dir)
Reproduces the problem - command or script
from mmagic.apis import MMagicInferencer sd_inferencer = MMagicInferencer(model_name='stable_diffusion') text_prompts = 'A panda is having dinner at KFC' result_out_dir = './output/sd_res.png' sd_inferencer.infer(text=text_prompts, result_out_dir=result_out_dir)
Reproduces the problem - error message
prompt no error
Additional information
No response
I need help seriously