Skip to content

Commit cf302c2

Browse files
Fix max_epochs not replaced correctly issue (#1882)
### Checks <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [ ] Avoid including large-size files in the PR. - [ ] Clean up long text outputs from code cells in the notebook. - [ ] For security purposes, please check the contents and remove any sensitive info such as user names and private key. - [ ] Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the `./figure` folder - [ ] Notebook runs automatically `./runner.sh -t <path to .ipynb file>` --------- Signed-off-by: YunLiu <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 1c784e0 commit cf302c2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

generation/2d_diffusion_autoencoder/2d_diffusion_autoencoder_tutorial.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,9 +474,8 @@
474474
}
475475
],
476476
"source": [
477-
"max_epochs = (\n",
478-
" 1000 # training for longer (1e4 ~ 3h) helps a lot with reconstruction quality, even if the loss is already low\n",
479-
")\n",
477+
"# training for longer (1e4 ~ 3h) helps a lot with reconstruction quality, even if the loss is already low\n",
478+
"max_epochs = 1000\n",
480479
"val_interval = 100\n",
481480
"print_interval = 50\n",
482481
"iter_loss_list, val_iter_loss_list = [], []\n",

0 commit comments

Comments
 (0)