-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
pytorch RNN not supported yet #592
Comments
not support yet, confirmed by the author. |
pytorch mobilenetv1-ssd: pytorch -> onnx -> ncnn axes 7Shape not supported yet! axis=0Unsqueeze not supported yet! axes 7Unsqueeze not supported yet! axes 7Unsqueeze not supported yet! axes 7Shape not supported yet! axis=0Unsqueeze not supported yet! axes 7Unsqueeze not supported yet! axes 7Unsqueeze not supported yet! axes 7Shape not supported yet! axis=0Unsqueeze not supported yet! |
针对onnx模型转换的各种问题,推荐使用最新的pnnx工具转换到ncnn pip install pnnx
pnnx model.onnx inputshape=[1,3,224,224] 详细参考文档 |
Convert model with the latest version of
ncnn
withpytorch==0.4.1
on Mac:pytorch -> onnx -> ncnn
A simple RNN model,
use onnx2ncnn tool:
./onnx2ncnn rnn.onnx
Errors:
Anybody has tried to convert the pytorch RNN model before?
The text was updated successfully, but these errors were encountered: