Skip to content

Does your model support picture-drive? #92

Open

Description

@LangShiyun

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)

Activity

  1. yaosheng216 commented on Mar 3, 2025

    @yaosheng216
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions