-
Notifications
You must be signed in to change notification settings - Fork 108
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
Failed to load 'yolov5n.onnx'. #23
Comments
I'm having similar issue with different model (in my case, the model is I added if(!n->operator)
{
resolver_solve_operator(&resolver_default, n);
if(n->operator)
{
n->r = &resolver_default;
n->rctx = NULL;
}
else
{
ONNX_LOG("Unresolved!\r\n");
ONNX_LOG("n->proto->op_type : %s\r\n", n->proto->op_type);
ONNX_LOG("n->proto->name : %s\r\n", n->proto->name);
ONNX_LOG("n->opset : %d\r\n", n->opset);
ONNX_LOG("n->inputs[0]->type : %d\r\n", n->inputs[0]->type);
}
}
if(!n->reshape)
n->reshape = reshape_dummy;
if(!n->operator) {
n->operator = operator_dummy;
}
if(n->init)
{
if(n->init(n) <= 0)
{
ONNX_LOG("n->init failed\r\n");
ONNX_LOG("i : %d\r\n", i);
ONNX_LOG("n->proto->op_type : %s\r\n", n->proto->op_type);
ONNX_LOG("n->proto->name : %s\r\n", n->proto->name);
if(g->nodes)
{ There're a few things I have noticed.
|
I have same issue with Segmentation fault (core dumped). |
Maybe opset version is too new |
hi,
I try to load 'yolov5n.onnx' like this:
but nothing was output, including warnings and errors.
The text was updated successfully, but these errors were encountered: