Skip to content

Commit

Permalink
Merge pull request #605 from aleju/fix_jigsaw_error
Browse files Browse the repository at this point in the history
Fix error message in Jigsaw
  • Loading branch information
aleju authored Feb 2, 2020
2 parents 35e5f47 + 62e9a40 commit d3fac0a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions imgaug/augmenters/geometric.py
Original file line number Diff line number Diff line change
Expand Up @@ -5921,8 +5921,10 @@ def _augment_batch_(self, batch, random_state, parents, hooks):
"line_strings"]])
if has_other_cbaoi:
raise NotImplementedError(
"Jigsaw currently only supports augmentation of images "
"and keypoints.")
"Jigsaw currently only supports augmentation of images, "
"heatmaps, segmentation maps and keypoints. "
"Explicitly not supported are: bounding boxes, polygons "
"and line strings.")

# We don't crop back to the original size, partly because it is
# rather cumbersome to implement, partly because the padded
Expand Down

0 comments on commit d3fac0a

Please sign in to comment.