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

Does your model support picture-drive? #92

Open
LangShiyun opened this issue Feb 27, 2025 · 1 comment
Open

Does your model support picture-drive? #92

LangShiyun opened this issue Feb 27, 2025 · 1 comment

Comments

@LangShiyun
Copy link

When I tried to use the style_exemplar_image feature, an knotty error was reported:

ERROR: test_stylebooth (main.DiffusionInferenceTest)

Traceback (most recent call last):
File "/media/sata1/lsy/scepter/tests/modules/run2.py", line 46, in test_stylebooth
output = diff_infer({
File "/home/cdp/anaconda3/envs/scepter/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "/home/cdp/anaconda3/envs/scepter/lib/python3.10/site-packages/scepter/modules/inference/stylebooth_inference.py", line 200,
File "/home/cdp/anaconda3/envs/scepter/lib/python3.10/site-packages/scepter/modules/inference/stylebooth_inference.py", line 200, in call
image_feature = self.encode_condition(style_exemplar_image,
File "/home/cdp/anaconda3/envs/scepter/lib/python3.10/site-packages/scepter/modules/inference/stylebooth_inference.py", line 86,
File "/home/cdp/anaconda3/envs/scepter/lib/python3.10/site-packages/scepter/modules/inference/stylebooth_inference.py", line 86, in encode_condition
return cond_stage_model.encode_image(data)
File "/home/cdp/anaconda3/envs/scepter/lib/python3.10/site-packages/scepter/modules/model/embedder/base_embedder.py", line 24, in
File "/home/cdp/anaconda3/envs/scepter/lib/python3.10/site-packages/scepter/modules/model/embedder/base_embedder.py", line 24, in encode_image
raise NotImplementedError
NotImplementedError


Ran 1 test in 2.670s

FAILED (errors=1)

@yaosheng216
Copy link
Contributor

Sorry, stylebooth model not currently supported picture-drive.
Thank you!

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

2 participants