From f89cf4418390912bde6975bd4281c1072e6c2bb7 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 6 Feb 2024 22:11:37 +0100 Subject: [PATCH] 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 6eba281e7165..fee38bc7a0ca 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(