rockchip-linux / rknn-toolkit2

BSD 3-Clause "New" or "Revised" License
874 stars 154 forks source link

whisper or transformer model onnx2rknn and inference #317

Open HduHestin opened 3 months ago

HduHestin commented 3 months ago

Somebody can help me with this problem? I want use the onnx convert to rknn . Or directly use .pt model like "base.pt" to rknn. https://github.com/k2-fsa/sherpa-onnx/issues/979

HduHestin commented 3 months ago

I have got a rknn model, then i meet another error too. 'mel' is build from wav file. its shape [1,80,3000], and i convert it to np.ndarry.But still ’Aborted!‘.Some one can give me some advice. image e8e41cf1eab9c620387e4ba955b0bea8