From c510be108bf3f1b7ebc638b217e920634f5130d0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 12 Sep 2024 11:00:25 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- ...2d_classifierfree_guidance_anomalydetection_tutorial.ipynb | 4 +--- .../anomalydetection_tutorial_classifier_guidance.ipynb | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/generation/anomaly_detection/2d_classifierfree_guidance_anomalydetection_tutorial.ipynb b/generation/anomaly_detection/2d_classifierfree_guidance_anomalydetection_tutorial.ipynb index 79c3d0181..1f8100faf 100644 --- a/generation/anomaly_detection/2d_classifierfree_guidance_anomalydetection_tutorial.ipynb +++ b/generation/anomaly_detection/2d_classifierfree_guidance_anomalydetection_tutorial.ipynb @@ -513,9 +513,7 @@ "plt.style.use(\"default\")\n", "plt.title(\"Learning Curves Diffusion Model\", fontsize=20)\n", "plt.plot(iterations, iter_loss_list, color=\"C0\", linewidth=2.0, label=\"Train\")\n", - "plt.plot(\n", - " iterations, val_iter_loss_list, color=\"C1\", linewidth=2.0, label=\"Validation\"\n", - ")\n", + "plt.plot(iterations, val_iter_loss_list, color=\"C1\", linewidth=2.0, label=\"Validation\")\n", "plt.yticks(fontsize=12)\n", "plt.xticks(fontsize=12)\n", "plt.xlabel(\"Iterations\", fontsize=16)\n", diff --git a/generation/anomaly_detection/anomalydetection_tutorial_classifier_guidance.ipynb b/generation/anomaly_detection/anomalydetection_tutorial_classifier_guidance.ipynb index 6e8cb13f7..183473451 100644 --- a/generation/anomaly_detection/anomalydetection_tutorial_classifier_guidance.ipynb +++ b/generation/anomaly_detection/anomalydetection_tutorial_classifier_guidance.ipynb @@ -266,7 +266,7 @@ "train_ds = DecathlonDataset(\n", " root_dir=root_dir,\n", " task=\"Task01_BrainTumour\",\n", - " section=\"training\", # + " section=\"training\", # \n", " cache_rate=1.0, # you may need a few Gb of RAM... Set to 0 otherwise\n", " num_workers=4,\n",