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
f1ab955f
Unverified
Commit
f1ab955f
authored
Mar 10, 2023
by
M. Tolga Cangöz
Committed by
GitHub
Mar 10, 2023
Browse files
Update basic_training.mdx (#2639)
Add 'import os'
parent
9360bb94
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
docs/source/en/tutorials/basic_training.mdx
docs/source/en/tutorials/basic_training.mdx
+2
-1
No files found.
docs/source/en/tutorials/basic_training.mdx
View file @
f1ab955f
...
...
@@ -252,6 +252,7 @@ Then, you'll need a way to evaluate the model. For evaluation, you can use the [
```py
>>> from diffusers import DDPMPipeline
>>> import math
>>> import os
>>> def make_grid(images, rows, cols):
...
...
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