rinongal / textual_inversion

MIT License
2.87k stars 278 forks source link

ValueError: The initializer token must be a single token. #158

Open DearLabQCM opened 11 months ago

DearLabQCM commented 11 months ago

WIth the single string initializer token "opssum", I got this error.

steb6 commented 10 months ago

The tokenizer of CLIP split opossum into two tokens, you can try again with "animal" for example

Screenshot 2023-09-11 153607

TimenoLong commented 6 months ago

Has anyone solved this problem?

steb6 commented 6 months ago

@TimenoLong bru, the answer is literally in the comment above yours

TimenoLong commented 6 months ago

Thank you, I understand.