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

Fix tf.image.resize_images for latest tensorflow version #162

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

achillesrasquinha
Copy link

No description provided.

@divamgupta
Copy link
Owner

Thanks for the PR. tf.image.resize does not work with older versions of tensorflow. Maybe you could add a try/catch so that all versions of tf are supported.

@achillesrasquinha
Copy link
Author

Done!

@achillesrasquinha
Copy link
Author

Hi @divamgupta, kindly check this change. tf has a compat API wrapped and it wouldn't be necessary to use AttributeError

@divamgupta
Copy link
Owner

Hi,

Actually another PR #154 had fixed the issue.

@achillesrasquinha
Copy link
Author

Hi @divamgupta, as mentioned. The current solution is a better alternative. It's neater to use the compat API that tf provides.

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.

2 participants