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

Update torch_transform and tests #121

Merged
merged 1 commit into from
Jun 18, 2018

Conversation

lewisbelcher
Copy link

There was a bug in the torch_transform function where the image was
being re-enclosed in a list multiple times (the respective methods on
the expected image then failed because the items were instead themselves
lists).

The bug was never caught by the tests because only one transform was
ever performed. The tests have also been updated to now catch this.

(Rounding the random sample was also unnecessary).

There was a bug in the `torch_transform` function where the image was
being re-enclosed in a list multiple times (the respective methods on
the expected image then failed because the items were instead themselves
lists).

The bug was never caught by the tests because only one transform was
ever performed. The tests have also been updated to now catch this.
@lewisbelcher
Copy link
Author

Fixes #109 #102

@srib
Copy link

srib commented Jun 16, 2018

👍

@mdbloice mdbloice merged commit c3c9685 into mdbloice:master Jun 18, 2018
@mdbloice
Copy link
Owner

Hi @lewisbelcher, many thanks, I have merged and will update the version on PyPI soon. Sorry for the delays, I have had very little time right now for any Augmentor work recently. However, I'll get a new version out as a priority so that people can update with pip. Thanks again!

@lewisbelcher
Copy link
Author

No problem! Thanks to you too for the package 😊

@lewisbelcher lewisbelcher deleted the fix-torch-transform-bug branch June 18, 2018 10:03
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

Successfully merging this pull request may close these issues.

4 participants