Skip to content

Commit cc5bd8d

Browse files
authored
Fix modules/integrate_3rd_party_transforms.ipynb (#1535)
Fixes #1531. ### Checks <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] 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: KumoLiu <yunl@nvidia.com>
1 parent 97e4b0d commit cc5bd8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/integrate_3rd_party_transforms.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@
321321
" itk_transforms,\n",
322322
" # add another dim as BatchGenerator and\n",
323323
" # Rising expects shape [B, C, H, W, D]\n",
324-
" EnsureChannelFirstd(keys=[\"image\", \"label\"]),\n",
324+
" EnsureChannelFirstd(keys=[\"image\", \"label\"], channel_dim=\"no_channel\"),\n",
325325
" adaptor(batch_generator_transforms, {\"image\": \"image\"}),\n",
326326
" EnsureTyped(keys=[\"image\", \"label\"]),\n",
327327
" adaptor(rising_transforms, {\"image\": \"image\", \"label\": \"label\"}),\n",

0 commit comments

Comments
 (0)