Skip to content

Commit

Permalink
fix(nrtk_transforms): support new return type for perturb()
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulHax committed Dec 16, 2024
1 parent 2eb3d0d commit a32f4d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nrtk_explorer/library/nrtk_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,6 @@ def execute(self, input: Image, *input_args: Any) -> Image:
input_args = ({"img_gsd": 0.15},)

input_array = np.asarray(input)
output_array = self._perturber.perturb(input_array, *input_args)
output_array, boxes = self._perturber.perturb(input_array, *input_args)

return ImageModule.fromarray(output_array)

0 comments on commit a32f4d4

Please sign in to comment.