Skip to content

Commit

Permalink
Fix typo in luna16 detection tutorial (#1826)
Browse files Browse the repository at this point in the history
### 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: YunLiu <[email protected]>
  • Loading branch information
KumoLiu committed Sep 16, 2024
1 parent 69ccafd commit 236a883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detection/generate_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def generate_detection_train_transform(
spatial_axes=(0, 1),
),
# apply the same affine matrix which already applied on the images to the points
ApplyTransformToPointsd(keys=[point_key], refer_key=image_key, affine_lps_to_ras=affine_lps_to_ras),
ApplyTransformToPointsd(keys=[point_key], refer_keys=image_key, affine_lps_to_ras=affine_lps_to_ras),
# convert points back to boxes
ConvertPointsToBoxesd(keys=[point_key]),
ClipBoxToImaged(
Expand Down

0 comments on commit 236a883

Please sign in to comment.