We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
当我在尝试将训练好的模型(.h5文件)转换成tflite时,遇到了一些问题。以下是我使用的转换代码: model = dpcrn.build_DPCRN_model() model.load_weights(model_path) converter = tf.lite.TFLiteConverter.from_keras_model(model) tflite_model = converter.convert() open("h5_2_tflite.tflite", "wb").write(tflite_model)
但我遇到了下面的报错信息,请问你之前遇到过这个问题吗?或者你知道应该要怎么解决吗? AttributeError: 'Concatenate' object has no attribute '_saved_model_inputs_spec'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
当我在尝试将训练好的模型(.h5文件)转换成tflite时,遇到了一些问题。以下是我使用的转换代码:
model = dpcrn.build_DPCRN_model()
model.load_weights(model_path)
converter = tf.lite.TFLiteConverter.from_keras_model(model)
tflite_model = converter.convert()
open("h5_2_tflite.tflite", "wb").write(tflite_model)
但我遇到了下面的报错信息,请问你之前遇到过这个问题吗?或者你知道应该要怎么解决吗?
AttributeError: 'Concatenate' object has no attribute '_saved_model_inputs_spec'
The text was updated successfully, but these errors were encountered: