Skip to content

Commit 236a883

Browse files
authored
Fix typo in luna16 detection tutorial (#1826)
### 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 <55491388+KumoLiu@users.noreply.github.com>
1 parent 69ccafd commit 236a883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

detection/generate_transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def generate_detection_train_transform(
148148
spatial_axes=(0, 1),
149149
),
150150
# apply the same affine matrix which already applied on the images to the points
151-
ApplyTransformToPointsd(keys=[point_key], refer_key=image_key, affine_lps_to_ras=affine_lps_to_ras),
151+
ApplyTransformToPointsd(keys=[point_key], refer_keys=image_key, affine_lps_to_ras=affine_lps_to_ras),
152152
# convert points back to boxes
153153
ConvertPointsToBoxesd(keys=[point_key]),
154154
ClipBoxToImaged(

0 commit comments

Comments
 (0)