Skip to content

Commit 1c784e0

Browse files
authored
Update max_epochs to be int (#1878)
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 <[email protected]>
1 parent 2db8c62 commit 1c784e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generation/anomaly_detection/2d_classifierfree_guidance_anomalydetection_tutorial.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@
426426
},
427427
"source": [
428428
"condition_dropout = 0.15\n",
429-
"max_epochs = 2e4\n",
429+
"max_epochs = 20000\n",
430430
"batch_size = 64\n",
431431
"val_interval = 100\n",
432432
"iter_loss_list = []\n",

0 commit comments

Comments
 (0)