From 236a883e43abbea359b2aaa2fc4034bc4ca17e5d Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Mon, 16 Sep 2024 15:14:21 +0800 Subject: [PATCH] Fix typo in luna16 detection tutorial (#1826) ### Checks - [ ] 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 ` Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- detection/generate_transforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detection/generate_transforms.py b/detection/generate_transforms.py index a88630f29..f08b5d203 100644 --- a/detection/generate_transforms.py +++ b/detection/generate_transforms.py @@ -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(