Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
diffusers
Commits
e9eb0938
Commit
e9eb0938
authored
Jul 12, 2023
by
Patrick von Platen
Browse files
make style
parent
a29ea36d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/unconditional_image_generation/train_unconditional.py
...les/unconditional_image_generation/train_unconditional.py
+1
-1
No files found.
examples/unconditional_image_generation/train_unconditional.py
View file @
e9eb0938
...
...
@@ -287,7 +287,7 @@ def main(args):
logging_dir
=
os
.
path
.
join
(
args
.
output_dir
,
args
.
logging_dir
)
accelerator_project_config
=
ProjectConfiguration
(
project_dir
=
args
.
output_dir
,
logging_dir
=
logging_dir
)
kwargs
=
InitProcessGroupKwargs
(
timeout
=
timedelta
(
seconds
=
7200
))
#
a big number for high resolution or big dataset
kwargs
=
InitProcessGroupKwargs
(
timeout
=
timedelta
(
seconds
=
7200
))
#
a big number for high resolution or big dataset
accelerator
=
Accelerator
(
gradient_accumulation_steps
=
args
.
gradient_accumulation_steps
,
mixed_precision
=
args
.
mixed_precision
,
...
...
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