1 year ago

#387939

test-img

anv1581s

AssertionError: Duplicate registrations for type 'experimentalOptimizer' when converting ssd model to tflite format

I was trying to convert my trained ssd model to tflite format. But I always face to this below error.

error I faced

Here is my code:

//----------------------------

import tensorflow as tf

converter = tf.lite.TFLiteConverter.from_saved_model("/TensorFlow/workspace/traning_demo/exported-models/my_model/saved_model/") tflite_model = converter.convert()

with open('tflite_test2.tflite', 'wb') as f: f.write(tflite_model)

//------------------

Does anyone have solution for this problem? Thank you very much

Best regards

python

tensorflow

model

anaconda

solid-state-drive

0 Answers

Your Answer

Accepted video resources