MNN icon indicating copy to clipboard operation
MNN copied to clipboard

convert MNN failed

Open ljiqy opened this issue 4 years ago • 4 comments

my pytorch model have torch.gather, I can convert it to onnx, in onnx it is ONNX::GatherElements, but when I convert onnx model to MNN model, it failed: Check failed: (notSupportOps.size()) == (0) ==> These Op Not Support: ONNX::GatherElements | Is there an alternative to Gather in MNN? Dose anyone know about it?

ljiqy avatar Jul 02 '20 10:07 ljiqy

ONNX::Gather is supported.

jxt1234 avatar Jul 05 '20 04:07 jxt1234

ONNX::Gather is supported.

but I used ONNX::GatherElements, not ONNX::Gather, Is there an alternative?

ljiqy avatar Jul 07 '20 03:07 ljiqy

@ljiqy 请问这个问题有什么解决方案吗

MaybeShewill-CV avatar Dec 24 '21 12:12 MaybeShewill-CV

The GatherElements of MNN converter dosen't support dynamic shape, maybe you should fix the input shape.

murphypei avatar Apr 12 '22 06:04 murphypei

目前已经支持该算子

wangzhaode avatar Feb 15 '23 07:02 wangzhaode

目前已经支持该算子

great job, thx for all your team's work!

murphypei avatar Feb 20 '23 03:02 murphypei