Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
70d09854
Unverified
Commit
70d09854
authored
Aug 06, 2023
by
AisingioroHao
Committed by
GitHub
Aug 06, 2023
Browse files
Add a data_dir parameter to the load_dataset method. (#4482)
Co-authored-by:
AisingioroHao0
<
1286098622@qq.com
>
parent
ea1fcc28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
examples/text_to_image/train_text_to_image.py
examples/text_to_image/train_text_to_image.py
+1
-0
examples/text_to_image/train_text_to_image_lora.py
examples/text_to_image/train_text_to_image_lora.py
+1
-0
No files found.
examples/text_to_image/train_text_to_image.py
View file @
70d09854
...
...
@@ -716,6 +716,7 @@ def main():
args
.
dataset_name
,
args
.
dataset_config_name
,
cache_dir
=
args
.
cache_dir
,
data_dir
=
args
.
train_data_dir
,
)
else
:
data_files
=
{}
...
...
examples/text_to_image/train_text_to_image_lora.py
View file @
70d09854
...
...
@@ -559,6 +559,7 @@ def main():
args
.
dataset_name
,
args
.
dataset_config_name
,
cache_dir
=
args
.
cache_dir
,
data_dir
=
args
.
train_data_dir
,
)
else
:
data_files
=
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment