Import graph...
Traceback (most recent call last):
File "/home/thousands/code/model/tflite2nncase.py", line 38, in
main()
File "/home/thousands/code/model/tflite2nncase.py", line 27, in main
compiler.import_tflite(model_content, import_options)
RuntimeError: Shape must be same:
model/ms_tcn/StatefulPartitionedCall/StatefulPartitionedCall/dual_dilated_block_0/conv1d_1/Conv1D/SpaceToBatchND_s2b_out_tp[Transpose] != model/ms_tcn/StatefulPartitionedCall/StatefulPartitionedCall/dual_dilated_block_0/conv1d_1/Conv1D/SpaceToBatchND[output]
has shape mismatch:
[1,2,8,128] != [8,2,8,128]
Environment (please complete the following information):
OS: [Ubuntu 22.04]
nncase version [1.7.1.20220701]
DL Framework [TensorFlow 2.5.0]
Additional context
Add any other context about the problem here.
Describe the bug 我在使用示例代码将一个tflite模型转换成kmodel时出错。
Origin model and code 代码
模型 https://drive.google.com/file/d/11YLBkSMN41M1f9i_IUGsmBeXfXSDupC8/view?usp=sharing 结果
Environment (please complete the following information):
Additional context Add any other context about the problem here.