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

[Bug] Can not work #2125

Open
3 tasks done
ZeeLyn opened this issue Mar 12, 2024 · 1 comment
Open
3 tasks done

[Bug] Can not work #2125

ZeeLyn opened this issue Mar 12, 2024 · 1 comment
Assignees
Labels
kind/bug something isn't working

Comments

@ZeeLyn
Copy link

ZeeLyn commented Mar 12, 2024

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 ZeeLyn added the kind/bug something isn't working label Mar 12, 2024
@ZeeLyn
Copy link
Author

ZeeLyn commented Mar 13, 2024

What is this error?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants