From 1c784e0640455fa87c9017aaa4b000cf844a8ffc Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Fri, 15 Nov 2024 22:57:07 +0800 Subject: [PATCH] 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 - [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 ` Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- .../2d_classifierfree_guidance_anomalydetection_tutorial.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation/anomaly_detection/2d_classifierfree_guidance_anomalydetection_tutorial.ipynb b/generation/anomaly_detection/2d_classifierfree_guidance_anomalydetection_tutorial.ipynb index 1f8100faf..1a8fee83c 100644 --- a/generation/anomaly_detection/2d_classifierfree_guidance_anomalydetection_tutorial.ipynb +++ b/generation/anomaly_detection/2d_classifierfree_guidance_anomalydetection_tutorial.ipynb @@ -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",