Open junnan-xjtu opened 1 year ago
请问这是什么原因造成的,代码没有改动过
Did you face this problem during setup? #121
Hi, example.py 中会调用 optimized_model_path = optimize_fp_model(model_path) 这个函数来将 matmul 转为 gemm,函数定义在 https://github.com/espressif/esp-dl/blob/master/tools/quantization_tool/optimizer.py,检查一下路径之类的有没有问题吧
我也出现了同样的问题,然后我原本的环境是python=3.7,onnx=1.13.1。然后我将onnx降低版本为1.9.0后,问题解决了
报错信息: Generating the quantization table: MatMul is not supported on esp-dl yet Traceback (most recent call last): File "example.py", line 38, in
calib.generate_quantization_table(model_proto, calib_dataset, pickle_file_path)
File "calibrator.py", line 344, in calibrator.Calibrator.generate_quantization_table
File "calibrator.py", line 231, in calibrator.Calibrator.generate_output_model
File "calibrator.py", line 226, in calibrator.Calibrator.check_model
ValueError: current model is not supported by esp-dl