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 preprocess_input function for tf.data #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BbChip0103
Copy link

Hi, there. I found some bug of 'preprocess_input' function when i used the function with tf.data.

What is this PR? 🔍

This issue was occured when we use the function in the tf.data like below.
Let me reproduce the bug.

First, we usually the function like below. It works well.
image

But, when we use this function inside of tf.data flow. It didn't work like below.
image

Changes 📝

There may be some change in the preprocess function in the tf.keras.
So, I just changed origin package 'keras_applications' to 'tensorflow.keras.applications'. And It worked well.
image
image

I think It's better to change 'keras_applications' to 'tensorflow.keras.applications' because now the keras backend support tensorflow only,

Thank you.

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.

1 participant