Skip to content

Commit

Permalink
Update max_epochs to be int (Project-MONAI#1878)
Browse files Browse the repository at this point in the history
Fix max_epochs not correctly update in this tutorial:

https://github.com/Project-MONAI/tutorials/blob/main/generation/anomaly_detection/2d_classifierfree_guidance_anomalydetection_tutorial.ipynb?short_path=1f8100f#L429

### Checks
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] 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 <55491388+KumoLiu@users.noreply.github.com>
  • Loading branch information
KumoLiu authored Nov 15, 2024
1 parent 2db8c62 commit 1c784e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@
},
"source": [
"condition_dropout = 0.15\n",
"max_epochs = 2e4\n",
"max_epochs = 20000\n",
"batch_size = 64\n",
"val_interval = 100\n",
"iter_loss_list = []\n",
Expand Down

0 comments on commit 1c784e0

Please sign in to comment.