Skip to content

Commit 43f0943

Browse files
committed
docs: fix typo UNet_meatdata -> UNet_metadata
1 parent b448cf2 commit 43f0943

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)