Skip to content
New issue

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

The example of esp-dl/tools/tensorflow_to_onnx does not support MatMul and Softmax yet (AIV-536) #98

Open
QimingLee opened this issue Jun 30, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@QimingLee
Copy link

We complete the example and run the program, but it shows "Generating the quantization table:
MatMul is not supported on esp-dl yet
Softmax is not supported on esp-dl yet"

Traceback (most recent call last):
File "D:/esp-dl-master/esp-dl-master/tools/quantization_tool/examples/example.py", line 39, in
calib.generate_quantization_table(model_proto, calib_dataset, pickle_file_path)
File "calibrator.py", line 333, in calibrator.Calibrator.generate_quantization_table
File "calibrator.py", line 222, in calibrator.Calibrator.generate_output_model
File "calibrator.py", line 217, in calibrator.Calibrator.check_model
ValueError: current model is not supported by esp-dl

@github-actions github-actions bot changed the title The example of esp-dl/tools/tensorflow_to_onnx does not support MatMul and Softmax yet The example of esp-dl/tools/tensorflow_to_onnx does not support MatMul and Softmax yet (AIV-536) Jun 30, 2022
@Raven888888
Copy link

@Auroragan when can it support more layers like MatMul and Clip in calibrator? These are very common layers and the calibrator is too outdated

@Farzinkh
Copy link

Farzinkh commented Jul 8, 2023

Hi, I was successful in implementing Convolution,MatMul and Softmax check out here.

@Raven888888
Copy link

@Farzinkh impressive! I sure will try out!

@SamsonAdem
Copy link

Is this resolved??

@AlanG2004
Copy link

Hi, I was successful in implementing Convolution,MatMul and Softmax check out here.

Where specifically should I look? The repository you provided is hard to follow, please let me know I am having the same issue and it is frustrating. Thank you.

@AlanG2004
Copy link

We complete the example and run the program, but it shows "Generating the quantization table: MatMul is not supported on esp-dl yet Softmax is not supported on esp-dl yet"

Traceback (most recent call last): File "D:/esp-dl-master/esp-dl-master/tools/quantization_tool/examples/example.py", line 39, in calib.generate_quantization_table(model_proto, calib_dataset, pickle_file_path) File "calibrator.py", line 333, in calibrator.Calibrator.generate_quantization_table File "calibrator.py", line 222, in calibrator.Calibrator.generate_output_model File "calibrator.py", line 217, in calibrator.Calibrator.check_model ValueError: current model is not supported by esp-dl

Hello were you able to solve this problem? I am running into the same issue any help would be appreciated @QimingLee @Farzinkh

@sun-xiangyu sun-xiangyu added the enhancement New feature or request label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants