image-super-resolution icon indicating copy to clipboard operation
image-super-resolution copied to clipboard

Export to tflite model

Open AnhPC03 opened this issue 1 year ago • 0 comments

Hello @idealo-ricardo-band @idealoprovisioning I very appreciate your awesome work. And I'm trying to convert RRDN hdf5 model to tflite in order to integrate it to android project. But when I was exporting, I got the error

File "/home/lib/python3.8/site-packages/tensorflow/lite/python/lite.py", line 1287, in _freeze_keras_model
    if not isinstance(self._keras_model.call, _def_function.Function):
AttributeError: 'RRDN' object has no attribute 'call'

Could you give me some advice? Thank you

AnhPC03 avatar Mar 08 '23 04:03 AnhPC03