Commit 8e46d97
Add missing restore() EMA call in train SDXL script (huggingface#7599)
* Restore unet params back to normal from EMA when validation call is finished
* empty commit
---------
Co-authored-by: Sayak Paul <[email protected]>1 parent 7e808e7 commit 8e46d97
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1252 | 1252 | | |
1253 | 1253 | | |
1254 | 1254 | | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
1255 | 1259 | | |
1256 | 1260 | | |
1257 | 1261 | | |
| |||
0 commit comments