Update basic_training.mdx (#2639)

Add 'import os'
This commit is contained in:
M. Tolga Cangöz 2023-03-10 16:19:12 +03:00 committed by GitHub
parent 9360bb94c3
commit f1ab955f64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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):