Skip to content

Commit b785a15

Browse files
authored
[advanced dreambooth lora sdxl training script] improve help tags (#6035)
* improve help tags * style fix --------- Co-authored-by: Linoy <[email protected]>
1 parent d486f0e commit b785a15

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,20 +232,26 @@ def parse_args(input_args=None):
232232
help=(
233233
"The name of the Dataset (from the HuggingFace hub) containing the training data of instance images (could be your own, possibly private,"
234234
" dataset). It can also be a path pointing to a local copy of a dataset in your filesystem,"
235-
" or to a folder containing files that 🤗 Datasets can understand."
235+
" or to a folder containing files that 🤗 Datasets can understand.To load the custom captions, the training set directory needs to follow the structure of a "
236+
"datasets ImageFolder, containing both the images and the corresponding caption for each image. see: "
237+
"https://huggingface.co/docs/datasets/image_dataset for more information"
236238
),
237239
)
238240
parser.add_argument(
239241
"--dataset_config_name",
240242
type=str,
241243
default=None,
242-
help="The config of the Dataset, leave as None if there's only one config.",
244+
help="The config of the Dataset. In some cases, a dataset may have more than one configuration (for example "
245+
"if it contains different subsets of data within, and you only wish to load a specific subset - in that case specify the desired configuration using --dataset_config_name. Leave as "
246+
"None if there's only one config.",
243247
)
244248
parser.add_argument(
245249
"--instance_data_dir",
246250
type=str,
247251
default=None,
248-
help=("A folder containing the training data. "),
252+
help="A path to local folder containing the training data of instance images. Specify this arg instead of "
253+
"--dataset_name if you wish to train using a local folder without custom captions. If you wish to train with custom captions please specify "
254+
"--dataset_name instead.",
249255
)
250256

251257
parser.add_argument(

0 commit comments

Comments
 (0)