Open XiaojieGan opened 2 months ago
Yes, you can refer to the function get_learned_conditioning in ldm/models/diffusion/blip_diffusion.py.
OK,thanks for your answer.Does the return value of this function “encoder_hidden_states” represent decoupled style features?
Oh,I think it may be the variable named "style_ctx_embeddings" which is attained by function "forward_ctx_embeddings",right?
Hello!I want to decouple style information from image features. From the inference code you released, can I only obtain the decoupled output of QFormer, rather than the final image generated after adding text?