rockchip-linux / rknn-toolkit

BSD 3-Clause "New" or "Revised" License
817 stars 174 forks source link

Mish activation support in RKNN Tensorflow #139

Open savankoradiya opened 2 years ago

savankoradiya commented 2 years ago

RKNN toolkit 1.7.1 tensorflow can't support Mish activation. When we try to convert Mish activation using mathematical formula Mish = x * tanh(Log(1 + exp (x))), in that case Log operation not supported in RKKN toolkit 1.7.1 tensorflow.

zen-xingle commented 2 years ago

RKNN toolkit 1.7.1 is not support tensorflow Mish op. For more ops support information, please check here https://github.com/rockchip-linux/rknn-toolkit/blob/master/doc/RKNN_OP_Support_V1.7.1.md

zen-xingle commented 2 years ago

Additionally, we advise to using ReLU activation instead of others if possible. For which you can always get the fast performance than others.