Comments (2)
I'm having similar issue with different model (in my case, the model is yolov3-tiny.onnx
) .
I added ONNX_LOG
calls to the onnx_graph_alloc
function for debugging.
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.
Resize
operator is still not implemented.- Many operators such as
Concat
, input data type must be defined when resolving operators. But it looks like it's undefined before running the model.
from libonnx.
I have same issue with Segmentation fault (core dumped).
model in https://github.com/Linzaer/Ultra-Light-Fast-Generic-Face-Detector-1MB
xxd convert onnx model to .h file, load model err in onnx_graph_alloc()
in onnx.c line 1171, model g->nlen = 242, but run end 82, and Segmentation fault.
from libonnx.
Related Issues (20)
- 可以参考下ONNC怎么做的
- Tensorflow model with opset 12 seems to crash when loaded HOT 5
- Question: Does libonnx support dynamic shape/CUDA ? HOT 4
- Which header files are necessary? HOT 2
- Why does every test in the model, node and simple folders fail? HOT 2
- How to convert a `onnx_context` to a `unsigned char array` as in the hello world example? HOT 3
- Maxpool + dilation
- Inference on GPU HOT 4
- Support GRU? HOT 1
- Valgrind output for Yolo v2 model HOT 1
- Unsupported opset => Gather-11 (ai.onnx) HOT 2
- Python bindings HOT 9
- Support ORT (flatbuffers) models
- Should Conv nodes be optimized using FFT?
- Implement Fourier transform nodes
- Evaluate if it makes sense to utilize NNPack
- 请问在哪里看opset_version和对应版本所支持的算子列表?
- compile failed , report the error which macro undefined HOT 1
- Fail to compile on macOs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libonnx.