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

model.json Issue #74

Open
NonlinearNimesh opened this issue Sep 6, 2021 · 0 comments
Open

model.json Issue #74

NonlinearNimesh opened this issue Sep 6, 2021 · 0 comments

Comments

@NonlinearNimesh
Copy link

Hi, when i am loading the json file i am getting this below error
AttributeError: module 'tensorflow.compat.v2.image' has no attribute 'resize_bilinear'

This is how i am loading the json file

from tensorflow.keras.models import model_from_json
with open("model.json", "r") as file:
  model_json = file.read()
loaded_model = model_from_json(model_json) 

Thanks

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

No branches or pull requests

1 participant