Skip to content

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

Open
achillesrasquinha wants to merge 4 commits into
divamgupta:masterfrom
achillesrasquinha:master
Open

Fix tf.image.resize_images for latest tensorflow version#162
achillesrasquinha wants to merge 4 commits into
divamgupta:masterfrom
achillesrasquinha:master

Conversation

@achillesrasquinha

Copy link
Copy Markdown

No description provided.

@divamgupta

Copy link
Copy Markdown
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
Copy Markdown
Author

Done!

@achillesrasquinha

Copy link
Copy Markdown
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
Copy Markdown
Owner

Hi,

Actually another PR #154 had fixed the issue.

@achillesrasquinha

Copy link
Copy Markdown
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