alibukharai / Blogs

Internal
44 stars 5 forks source link

Issue with supporting constant and softmax #9

Open raprakashvi opened 3 months ago

raprakashvi commented 3 months ago

Hi, Thannk you for the tutorial. I am using python 3.7 to be in line with version but having trouble quantizing the optimized model.

"Generating the quantization table: Constant is not supported on esp-dl yet LogSoftmax is not supported on esp-dl yet"

How do you get around this? Any version issue?

raprakashvi commented 3 months ago

@alibukharai

alibukharai commented 3 months ago

Hello, @raprakashvi Sorry its been long to work on ESP-DL, The issue seems to be looks like esp-dl doesnot support all the parameters like matmul etc. You can check with ESP-DL guides https://docs.espressif.com/projects/esp-dl/en/latest/esp32s3/tools/image-tools.html or with ESP-DL guys https://github.com/espressif/esp-dl

raprakashvi commented 3 months ago

hi @alibukharai thanks for the response. based on your experience, is ESP-Dl still the best way to inference on esp32 s3? or should I look into micropython? I am thinking of simplifying my model and making it work for now?

alibukharai commented 3 months ago

hi @alibukharai thanks for the response. based on your experience, is ESP-Dl still the best way to inference on esp32 s3? or should I look into micropython? I am thinking of simplifying my model and making it work for now?

I personally tried Miceopython, as far i know, It is still in development stage and keeping memory constrain in consideration still ESP-DL is best solution