Skip to content

Commit

Permalink
add load_datasete data_dir parameter (huggingface#5747)
Browse files Browse the repository at this point in the history
  • Loading branch information
aihao2000 authored Nov 10, 2023
1 parent 77ba494 commit 1f87f83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/text_to_image/train_text_to_image_flax.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ def main():
args.dataset_name,
args.dataset_config_name,
cache_dir=args.cache_dir,
data_dir=args.train_data_dir
)
else:
data_files = {}
Expand Down
1 change: 1 addition & 0 deletions examples/text_to_image/train_text_to_image_lora_sdxl.py
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,7 @@ def load_model_hook(models, input_dir):
args.dataset_name,
args.dataset_config_name,
cache_dir=args.cache_dir,
data_dir=args.train_data_dir
)
else:
data_files = {}
Expand Down

0 comments on commit 1f87f83

Please sign in to comment.