mmagic icon indicating copy to clipboard operation
mmagic copied to clipboard

[Bug] Can not work

Open ZeeLyn opened this issue 1 year ago • 1 comments

Prerequisite

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

After the installation is completed, it can output the version information normally, but it cannot run the following code, and there is no error message output without output

image

Reproduces the problem - code sample

import mmagic
from mmagic.apis import MMagicInferencer
print(mmagic.__version__)
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

python .\main.py

Reproduces the problem - error message

There is no error message output without output

Additional information

No response

ZeeLyn avatar Mar 12 '24 10:03 ZeeLyn

What is this error? image

ZeeLyn avatar Mar 13 '24 09:03 ZeeLyn