From f5c9be3a0aef60e68e1080b45c4ddf423f868fc4 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 8 Feb 2024 14:46:06 -0500 Subject: [PATCH] Remove validation prompt from examples/textual_inversion/textual_inversion_sdxl.py (#6877) Remove validation prompt from textual_inversion_sdxl.py The `` validation prompt is a default choice for the example task in the README. But no other part of `textual_inversion_sdxl.py` references the cat toy and `textual_inversion.py` has a default validation prompt of `None` as well. So bring `textual_inversion_sdxl.py` in line with `textual_inversion.py` and change default validation prompt to `None` --- examples/textual_inversion/textual_inversion_sdxl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/textual_inversion/textual_inversion_sdxl.py b/examples/textual_inversion/textual_inversion_sdxl.py index f9aff8d853..84c498a372 100644 --- a/examples/textual_inversion/textual_inversion_sdxl.py +++ b/examples/textual_inversion/textual_inversion_sdxl.py @@ -372,7 +372,7 @@ def parse_args(): parser.add_argument( "--validation_prompt", type=str, - default="A backpack", + default=None, help="A prompt that is used during validation to verify that the model is learning.", ) parser.add_argument(