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
8789d0b6
"vscode:/vscode.git/clone" did not exist on "b9c65e91ef78b6adcc50250b64dcd91b459d67f6"
Unverified
Commit
8789d0b6
authored
Nov 13, 2023
by
Younes Belkada
Committed by
GitHub
Nov 13, 2023
Browse files
fix styling issues on main (#5754)
fix styling issues
parent
b1fbef54
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
examples/text_to_image/train_text_to_image_flax.py
examples/text_to_image/train_text_to_image_flax.py
+1
-4
examples/text_to_image/train_text_to_image_lora_sdxl.py
examples/text_to_image/train_text_to_image_lora_sdxl.py
+1
-4
No files found.
examples/text_to_image/train_text_to_image_flax.py
View file @
8789d0b6
...
@@ -272,10 +272,7 @@ def main():
...
@@ -272,10 +272,7 @@ def main():
if
args
.
dataset_name
is
not
None
:
if
args
.
dataset_name
is
not
None
:
# Downloading and loading a dataset from the hub.
# Downloading and loading a dataset from the hub.
dataset
=
load_dataset
(
dataset
=
load_dataset
(
args
.
dataset_name
,
args
.
dataset_name
,
args
.
dataset_config_name
,
cache_dir
=
args
.
cache_dir
,
data_dir
=
args
.
train_data_dir
args
.
dataset_config_name
,
cache_dir
=
args
.
cache_dir
,
data_dir
=
args
.
train_data_dir
)
)
else
:
else
:
data_files
=
{}
data_files
=
{}
...
...
examples/text_to_image/train_text_to_image_lora_sdxl.py
View file @
8789d0b6
...
@@ -765,10 +765,7 @@ def main(args):
...
@@ -765,10 +765,7 @@ def main(args):
if
args
.
dataset_name
is
not
None
:
if
args
.
dataset_name
is
not
None
:
# Downloading and loading a dataset from the hub.
# Downloading and loading a dataset from the hub.
dataset
=
load_dataset
(
dataset
=
load_dataset
(
args
.
dataset_name
,
args
.
dataset_name
,
args
.
dataset_config_name
,
cache_dir
=
args
.
cache_dir
,
data_dir
=
args
.
train_data_dir
args
.
dataset_config_name
,
cache_dir
=
args
.
cache_dir
,
data_dir
=
args
.
train_data_dir
)
)
else
:
else
:
data_files
=
{}
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