Any ideas on how we can convert the model to tensorflow lite?

#3
by Ben1 - opened
  • I want to convert this model to tensoflow lite but it gives me this error : AttributeError: 'CamembertForQuestionAnswering' object has no attribute 'call'
    by using tf_model.h5, i download it from here, because when i want to save the model locally it gives me the model with 'bin' format.
  • Also i can't load it using : tf.keras.models.load_model() it gives me : ValueError: No model config found in the file at <tensorflow.python.platform.gfile.GFile object at 0x7f27cceb1810>.
Ben1 changed discussion title from Any ideas about how we can convert the model to tensorflow lite ? to Any ideas on how we can convert the model to tensorflow lite?

Sign up or log in to comment