317e9779600e7135174f81e796b4d82d10dc4a21,imgaug/augmentables/normalization.py,,normalize_bounding_boxes,#Any#Any#,227
Before Change
assert shapes is not None
assert inputs.ndim == 3 // (N,B,4)
assert inputs.shape[2] == 4
assert len(inputs) == len(shapes)
return [
BoundingBoxesOnImage.from_xyxy_array(attr_i, shape=shape)
for attr_i, shape
in zip(inputs, shapes)
After Change
shapes = _preprocess_shapes(shapes)
ntype = estimate_bounding_boxes_norm_type(inputs)
_assert_exactly_n_shapes_partial = functools.partial(
_assert_exactly_n_shapes,
from_ntype=ntype, to_ntype="List[BoundingBoxesOnImage]",
shapes=shapes)
if ntype == "None":
return None
elif ntype in ["array[float]", "array[int]", "array[uint]"]:
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 5
Instances
Project Name: aleju/imgaug
Commit Name: 317e9779600e7135174f81e796b4d82d10dc4a21
Time: 2019-03-30
Author: kontakt@ajung.name
File Name: imgaug/augmentables/normalization.py
Class Name:
Method Name: normalize_bounding_boxes
Project Name: aleju/imgaug
Commit Name: 56f0b7f2d4a2fe4954b600b9d476629d6edbd5be
Time: 2019-03-30
Author: kontakt@ajung.name
File Name: imgaug/augmentables/normalization.py
Class Name:
Method Name: normalize_keypoints
Project Name: aleju/imgaug
Commit Name: 22558d4a65fdc413272cca26ac7e1a105aebba11
Time: 2019-03-30
Author: kontakt@ajung.name
File Name: imgaug/augmentables/normalization.py
Class Name:
Method Name: normalize_segmentation_maps
Project Name: aleju/imgaug
Commit Name: 5dda0e5ab45dc9638f937e0f5c3a8df0efa15f5e
Time: 2019-03-30
Author: kontakt@ajung.name
File Name: imgaug/augmentables/normalization.py
Class Name:
Method Name: normalize_polygons
Project Name: aleju/imgaug
Commit Name: 237b7fed57a0e2d96056e5991d0394bc63e75608
Time: 2019-03-30
Author: kontakt@ajung.name
File Name: imgaug/augmentables/normalization.py
Class Name:
Method Name: normalize_heatmaps