candle icon indicating copy to clipboard operation
candle copied to clipboard

ONNX: unsupported op_type Split for op NodeProto

Open wanglong001 opened this issue 1 year ago • 1 comments

outputs:Err(WithBacktrace { inner: Msg("unsupported op_type Split for op NodeProto { input: ["/model.2/cv1/act/Mul_output_0", "onnx::Split_64"], output: ["/model.2/Split_output_0", "/model.2/Split_output_1"], name: "/model.2/Split", op_type: "Split", domain: "", attribute: [AttributeProto { name: "axis", ref_attr_name: "", doc_string: "", r#type: Int, f: 0.0, i: 1, s: [], t: None, g: None, sparse_tensor: None, tp: None, floats: [], ints: [], strings: [], tensors: [], graphs: [], sparse_tensors: [], type_protos: [] }], doc_string: "" }"), backtrace: Backtrace [{ fn: "candle_core::error::Error::bt", file: "/home/wzl/.cargo/git/checkouts/candle-0c2b4fa9e5801351/8d1a57c/candle-core/src/error.rs", line: 227 }, { fn: "candle_onnx::eval::simple_eval", file: "/home/wzl/.cargo/git/checkouts/candle-0c2b4fa9e5801351/8d1a57c/candle-onnx/src/eval.rs", line: 763 }, { fn: "yolov5_test::main", file: "./src/main.rs", line: 141 }, { fn: "core::ops::function::FnOnce::call_once", file: "/rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs", line: 250 }, { fn: "std::sys_common::backtrace::__rust_begin_short_backtrace", file: "/rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs", line: 154 }, { fn: "std::rt::lang_start::{{closure}}", file: "/rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs", line: 167 }, { fn: "core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once", file: "/rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs", line: 284 }, { fn: "std::panicking::try::do_call", file: "/rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs", line: 552 }, { fn: "std::panicking::try", file: "/rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs", line: 516 }, { fn: "std::panic::catch_unwind", file: "/rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs", line: 142 }, { fn: "std::rt::lang_start_internal::{{closure}}", file: "/rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs", line: 148 }, { fn: "std::panicking::try::do_call", file: "/rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs", line: 552 }, { fn: "std::panicking::try", file: "/rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs", line: 516 }, { fn: "std::panic::catch_unwind", file: "/rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs", line: 142 }, { fn: "std::rt::lang_start_internal", file: "/rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs", line: 148 }, { fn: "std::rt::lang_start", file: "/rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs", line: 166 }, { fn: "main" }, { fn: "__libc_start_call_main", file: "./csu/../sysdeps/nptl/libc_start_call_main.h", line: 58 }, { fn: "__libc_start_main_impl", file: "./csu/../csu/libc-start.c", line: 392 }, { fn: "_start" }] })

wanglong001 avatar Jan 10 '24 09:01 wanglong001

Could you share more code or more context?

jdiaz97 avatar Jun 29 '24 14:06 jdiaz97