Hello, I’m currently studying methods for content control in images generated by generative models, and I’m glad to see that your paper/source code is available. However, I’m having some issues with the source code.
I’d like to ask about the parameter
--placeholder_token="<prompt_guard>"
Is there any standard or rule for what prompt_guard should be? Should it be a sentence or a single word?
Also, for a pretrained model, the variable
token_list = [token1, token2, ...] # the corresponding tokens of your embeddings
— what exactly are these tokens referring to?
Hello, I’m currently studying methods for content control in images generated by generative models, and I’m glad to see that your paper/source code is available. However, I’m having some issues with the source code.
I’d like to ask about the parameter
Is there any standard or rule for what
prompt_guardshould be? Should it be a sentence or a single word?Also, for a pretrained model, the variable
— what exactly are these tokens referring to?