Commit d6e8c13
refactor GANs trainer
Summary: Refactor and simplify the trainer by reusing the _write_metrics defined in SimpleTrainer.
Reviewed By: newstzpz
Differential Revision: D26038293
fbshipit-source-id: 174c386375759ce761ff2db80cb5a076a083bcc81 parent 25e283a commit d6e8c13
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
248 | 253 | | |
249 | 254 | | |
250 | 255 | | |
| |||
281 | 286 | | |
282 | 287 | | |
283 | 288 | | |
284 | | - | |
| 289 | + | |
285 | 290 | | |
286 | 291 | | |
287 | 292 | | |
| |||
0 commit comments