You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Often when processing the generation request, a message like this is printed out, "The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [" and then a list of what was truncated is shown.
This 77 token limit makes for a very short prompts that can frustrate producing good or desirable results. While I understand that this is not an exclusive PhotoMaker's issue, as others have certainly faced the same issue, it is my understanding however that a solution to this problem was implemented in most UI's of SD software.
Researching this matter, I've even come across a working solution proposed on the diffusers github issue's page [1]. There is also the Compel library [2]. It would be nice if some solution is implemented to allow a longer prompt in this implementation of PhotoMaker.
Often when processing the generation request, a message like this is printed out, "The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [" and then a list of what was truncated is shown.
This 77 token limit makes for a very short prompts that can frustrate producing good or desirable results. While I understand that this is not an exclusive PhotoMaker's issue, as others have certainly faced the same issue, it is my understanding however that a solution to this problem was implemented in most UI's of SD software.
Researching this matter, I've even come across a working solution proposed on the diffusers github issue's page [1]. There is also the Compel library [2]. It would be nice if some solution is implemented to allow a longer prompt in this implementation of PhotoMaker.
Regards
[1] huggingface/diffusers#2136 (comment)
[2] https://github.com/damian0815/compel#compel
The text was updated successfully, but these errors were encountered: