Skip to content

Fixed image resize for fresh tensorflow & keras #154

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

Merged
merged 2 commits into from
Feb 20, 2020

Conversation

bakwc
Copy link
Contributor

@bakwc bakwc commented Feb 8, 2020

Followed steps from README, got AttributeError on
model = pspnet_50_ADE_20K()
There is no function resize_images, replaced it to resize (it helped - model sucessfuly loaded and predicted my test images).

@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.

@bakwc
Copy link
Contributor Author

bakwc commented Feb 19, 2020

Fixed.

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