Skip to content

Commit

Permalink
Fix deepedit/ignite/infoANDinference.ipynb (#1533)
Browse files Browse the repository at this point in the history
Fixes #1529 

### Description
Update `image_only=False` in `LoadImaged` since the default value of
`image_only` has been changed by
Project-MONAI/MONAI#7019

### 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.
- [x] 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>
  • Loading branch information
KumoLiu authored Sep 26, 2023
1 parent e9b45fb commit 97e4b0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deepedit/ignite/infoANDinference.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@
"\n",
"pre_transforms = [\n",
" # Loading the image\n",
" LoadImaged(keys=\"image\", reader=\"ITKReader\"),\n",
" LoadImaged(keys=\"image\", reader=\"ITKReader\", image_only=False),\n",
" # Ensure channel first\n",
" EnsureChannelFirstd(keys=\"image\"),\n",
" # Change image orientation\n",
Expand Down Expand Up @@ -544,7 +544,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "2.7.-1"
},
"vscode": {
"interpreter": {
Expand Down

0 comments on commit 97e4b0d

Please sign in to comment.