TensorFlowASR: Call tflitemodel.invoke() makes program crash
I am working on tf lite version of Conformer, but not succeed yet.
When I run tests/conformer/test_conformer.py, program crashed in line “tflitemodel.invoke()”.
tflitemodel.set_tensor( input_details[2]["index"], tf.zeros( [config.model_config["prediction_num_rnns"], 2, 1, config.model_config["prediction_rnn_units"]], dtype=tf.float32 ) )
tflitemodel.invoke()
hyp = tflitemodel.get_tensor(output_details[0]["index"])
Crash Msg is: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
Environment: tensorflow 2.3.2 TensorFlowASR latest
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 18
@usimarit Update After a weekend researching, I got some findings:
I am closing this issue, thanks
@usimarit In the following simple program, if test function return tf.signal.rfft(x, [512]), program crash, if test function return tf.reshape(x, [10, -1]), it works fine.
The saved tflite model which return tf.signal.rfft(x, [512]) is sharing with url: https://drive.google.com/file/d/1LY3h4MHIwGGi63TyWsNta6vNKluIdi38/view?usp=sharing
Could you download this file and check if it works fine on your machine, thanks