Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/aleju/imgaug
Browse files Browse the repository at this point in the history
  • Loading branch information
aleju committed Jan 13, 2018
2 parents 06e9a91 + c8bd1dc commit 0c2da8b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion imgaug/augmenters/geometric.py
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ def _augment_keypoints(self, keypoints_on_images, random_state, parents, hooks):
"""

# no transformation of keypoints for this currently,
# it seems like this is the more appropiate choice overall for this augmentation
# it seems like this is the more appropriate choice overall for this augmentation
# technique
def _augment_keypoints(self, keypoints_on_images, random_state, parents, hooks):
return keypoints_on_images
Expand Down
2 changes: 1 addition & 1 deletion imgaug/augmenters/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ def localize_random_state_(self, recursive=True):
Usually there is no need to change global into local random states.
The only noteworthy exceptions are
* whenever you want to use determinism (so that the global random
state is not accidently reverted)
state is not accidentally reverted)
* whenever you want to copy random states from one augmenter to
another. (Copying the global random state doesn't help very
much. If you copy the state from A to B, then execute A and then
Expand Down
2 changes: 1 addition & 1 deletion imgaug/imgaug.py
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ def is_propagating(self, images, augmenter, parents, default):
Returns
-------
out : bool
If True, the augmenter may be propagate to its childen.
If True, the augmenter may be propagate to its children.
If False, it may not.
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1533,7 +1533,7 @@ def test_Affine():
# this one uses a 4x4 area of all 255, which is zoomed out to a 4x4 area
# in which the center 2x2 area is 255
# zoom in should probably be adapted to this style
# no seperate tests here for x/y axis, should work fine if zoom in works with that
# no separate tests here for x/y axis, should work fine if zoom in works with that
aug = iaa.Affine(scale=0.49, translate_px=0, rotate=0, shear=0)
aug_det = aug.to_deterministic()

Expand Down

0 comments on commit 0c2da8b

Please sign in to comment.