Skip to content

Commit 77ccd31

Browse files
authored
Fixed Typo (#2016)
Fixes #2013. ### Description This fixes a minor typo in one notebook. ### Checks <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [ ] 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 <path to .ipynb file>` Signed-off-by: Eric Kerfoot <[email protected]>
1 parent 7b032f1 commit 77ccd31

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

3d_segmentation/spleen_segmentation_3d_visualization_basic.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@
484484
"# standard PyTorch program style: create UNet, DiceLoss and Adam optimizer\n",
485485
"device = torch.device(\"cuda:0\")\n",
486486
"\n",
487-
"UNet_meatdata = {\n",
487+
"UNet_metadata = {\n",
488488
" \"spatial_dims\": 3,\n",
489489
" \"in_channels\": 1,\n",
490490
" \"out_channels\": 2,\n",
@@ -494,7 +494,7 @@
494494
" \"norm\": Norm.BATCH,\n",
495495
"}\n",
496496
"\n",
497-
"model = UNet(**UNet_meatdata).to(device)\n",
497+
"model = UNet(**UNet_metadata).to(device)\n",
498498
"loss_function = DiceLoss(to_onehot_y=True, softmax=True)\n",
499499
"loss_type = \"DiceLoss\"\n",
500500
"optimizer = torch.optim.Adam(model.parameters(), 1e-4)\n",
@@ -539,7 +539,7 @@
539539
"# initialize a new Aim Run\n",
540540
"aim_run = aim.Run()\n",
541541
"# log model metadata\n",
542-
"aim_run[\"UNet_meatdata\"] = UNet_meatdata\n",
542+
"aim_run[\"UNet_metadata\"] = UNet_metadata\n",
543543
"# log optimizer metadata\n",
544544
"aim_run[\"Optimizer_metadata\"] = Optimizer_metadata\n",
545545
"\n",

0 commit comments

Comments
 (0)