Skip to content

Commit ef54e76

Browse files
committed
fixes typos
Signed-off-by: Wenqi Li <[email protected]>
1 parent f623512 commit ef54e76

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

modules/inverse_transforms_and_test_time_augmentations.ipynb

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -169,17 +169,9 @@
169169
},
170170
{
171171
"cell_type": "code",
172-
"execution_count": 3,
172+
"execution_count": null,
173173
"metadata": {},
174-
"outputs": [
175-
{
176-
"name": "stdout",
177-
"output_type": "stream",
178-
"text": [
179-
"/home/wenqil/Documents/monai_data\n"
180-
]
181-
}
182-
],
174+
"outputs": [],
183175
"source": [
184176
"directory = os.environ.get(\"MONAI_DATA_DIRECTORY\")\n",
185177
"root_dir = tempfile.mkdtemp() if directory is None else os.path.expanduser(directory)\n",

modules/nifti_read_example.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@
261261
"ds = GridPatchDataset(ds, img_seg_iter, with_coordinates=False)\n",
262262
"\n",
263263
"loader = torch.utils.data.DataLoader(\n",
264-
" ds, batch_size=10, num_workers=0, pin_memory=torch.cuda.is_available()\n",
264+
" ds, batch_size=10, num_workers=2, pin_memory=torch.cuda.is_available()\n",
265265
")\n",
266266
"im, seg = first(loader)\n",
267267
"print(\"image shapes:\", im.shape, seg.shape)"

0 commit comments

Comments
 (0)