When I do the evaluation, I need to replace the * character with the self.init_text on this line
|
example["text_init"] = text.replace("*", self.init_text) |
but I get an error saying that
TypeError: replace() argument 2 must be str, not None
so how should I set the self.init_text?
Thanks in advance!
When I do the evaluation, I need to replace the * character with the
self.init_texton this lineViCo/ldm/data/personalized.py
Line 263 in 28c4c9c
but I get an error saying that
TypeError: replace() argument 2 must be str, not Noneso how should I set the self.init_text?
Thanks in advance!