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

'tensorflow._api.v2.image' has no attribute 'resize_images' #1368

Closed
Vortalcord opened this issue May 26, 2020 · 2 comments
Closed

'tensorflow._api.v2.image' has no attribute 'resize_images' #1368

Vortalcord opened this issue May 26, 2020 · 2 comments
Labels
stale Issues with no activity for a long time

Comments

@Vortalcord
Copy link

Hello, I have keras version 2.3.1 and tensorflow version 2.2.0 and am experiencing the same issue as in the closed post (see below) when I call the keras_retinanet.models.load_model() function:
'AttributeError: module 'tensorflow._api.v2.image' has no attribute 'resize_images' '

Originally posted by @Vortalcord in #1271 (comment)

@Arushacked
Copy link

Arushacked commented Jun 4, 2020

The function has been renamed into resize.
You should change your code like this:
Before : tf.image.resize_images(.......)
After : tf.image.resize(................)

@stale
Copy link

stale bot commented Aug 3, 2020

This issue has been automatically marked as stale due to the lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issues with no activity for a long time label Aug 3, 2020
@stale stale bot closed this as completed Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issues with no activity for a long time
Projects
None yet
Development

No branches or pull requests

2 participants