I've got a Keras model in the hdf5 file and wanted to convert it into tflite, but I've got an issue like this model = 'model.h5' converter = tf.lite.TFLiteConverter.from_keras_model_file(model) tflite_model = converter.convert() open("converted/model.tflite", "wb").write(tflite_model) ValueError: Unknown loss function:custom_loss I know that I should load my custom loss as custom_object, but I can't find a way to it with TensorFlow function. What is the solution for this?...
from Planet Python
via read more
Subscribe to:
Post Comments (Atom)
TestDriven.io: Working with Static and Media Files in Django
This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...
-
Podcasts are a great way to immerse yourself in an industry, especially when it comes to data science. The field moves extremely quickly, an...
-
Graph traversal algorithms are used to perform various operations on a graph data structure. In this article, we will use the breadth-first ...
-
In an earlier tutorial we've already covered how to open dialog windows. These are special windows which (by default) grab the focus o...
No comments:
Post a Comment