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
d7d68414
Unverified
Commit
d7d68414
authored
Oct 26, 2022
by
Hu Ye
Committed by
GitHub
Oct 26, 2022
Browse files
fix a bug in the new version (#957)
remove tensor_format in the new version
parent
d9cfe325
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/text_to_image/train_text_to_image.py
examples/text_to_image/train_text_to_image.py
+1
-1
No files found.
examples/text_to_image/train_text_to_image.py
View file @
d7d68414
...
...
@@ -375,7 +375,7 @@ def main():
# TODO (patil-suraj): load scheduler using args
noise_scheduler
=
DDPMScheduler
(
beta_start
=
0.00085
,
beta_end
=
0.012
,
beta_schedule
=
"scaled_linear"
,
num_train_timesteps
=
1000
,
tensor_format
=
"pt"
beta_start
=
0.00085
,
beta_end
=
0.012
,
beta_schedule
=
"scaled_linear"
,
num_train_timesteps
=
1000
)
# Get the datasets: you can either provide your own training and evaluation files (see below)
...
...
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