janzd/EAST

model.json Issue

Opened this issue · 0 comments

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