So what is the error? I do not see executed cells to see what is wrong.
I seems that it is a standard procedure with scripts that have been created and tested from Google like “export_tflite_graph_tf2.py”. Because executing all the cells it is time consuming please train the model and use “export_tflite_graph_tf2.py” script to export to tflite file… Or train the model and execute the command to convert Saved Model to TFLite with the TensorFlow Lite converter to see the error logcat.
It will be also helpful if you create the Saved Model folder with all the contents and share it. This way we can reproduce the issue any time.