Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 12, 2024
1 parent 1cc68ce commit c510be1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c510be1

Please sign in to comment.