Closed hygkim95 closed 4 years ago
It seeems that you resolved this by using SELECT_TF_OPS. https://www.tensorflow.org/lite/guide/ops_select
converter = tf.lite.TFLiteConverter.from_saved_model(path)
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS, tf.lite.OpsSet.SELECT_TF_OPS]
lite_albert = converter.convert()
So, let's close this. Please feel free to reopen it if you have an issue with this.
System information
Provide the text output from tflite_convert
Also, please include a link to a GraphDef or the model if possible. -> I am using "bert-for-tf2" to load albert_base.
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.