Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crop by size give mismatch results between the groundtruth and original image. #111

Closed
npmhung opened this issue May 11, 2018 · 2 comments
Closed

Comments

@npmhung
Copy link

npmhung commented May 11, 2018

When I set the centre property to False, the groundtruth and the original image are cropped at different locations while the expected behavior is that both images are cropped at the same location.

@mdbloice
Copy link
Owner

Hi @npmhung, yes indeed you are right, there is a bug in the Crop class that I have just found. Thanks for pointing this out, I will fix this ASAP.

@mdbloice
Copy link
Owner

@npmhung, I just uploaded a new version of Augmentor (0.2.2) to PyPI so if you upgrade this should now be fixed (pip install Augmentor --upgrade).
M.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants