Skip to content

Commit 253279e

Browse files
committed
fix notebooks
1 parent a1323a5 commit 253279e

File tree

2 files changed

+2587
-251
lines changed

2 files changed

+2587
-251
lines changed

notebooks/examples/densenet.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@
11091109
"\n",
11101110
"PATH_DATASETS = os.environ.get(\"PATH_DATASETS\", \"..\")\n",
11111111
"BATCH_SIZE = 4096 if torch.cuda.is_available() else 64\n",
1112-
"NUM_WORKERS = 10 if torch.cuda.is_available() else 8\n",
1112+
"NUM_WORKERS = 10 if torch.cuda.is_available() else 4\n",
11131113
"print(f\"Using {BATCH_SIZE} batch size.\")\n",
11141114
"print(f\"Using {NUM_WORKERS} workers.\")\n",
11151115
"\n",
@@ -1628,6 +1628,8 @@
16281628
}
16291629
],
16301630
"source": [
1631+
"import matplotlib.pyplot as plt\n",
1632+
"\n",
16311633
"axes = plt.subplots(1, 2, figsize=(15, 7))[1]\n",
16321634
"(\n",
16331635
" merged.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_full_image\")\n",

notebooks/examples/speed_up_illustration.ipynb

Lines changed: 2584 additions & 250 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)