Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Error in running #17

@NazilaPourhaji

Description

@NazilaPourhaji

Hello dear professor,
I hope you are doing well.
Thanks for your valuable paper. I ran the code and for this command (third line in below code):

image_encoder = ImageEncoder()
vae=tf.keras.Model(
image_encoder.input,
image_encoder.layers[-1].output,
)
model = StableDiffusion(img_width=512, img_height=512)
blip = None

I received this error:
ValueError: The layer image_encoder has never been called and thus has no defined input.

Please help me to run the code. I really need to run this code. Please guide me.

Thank you very much dear professor.

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