-
Notifications
You must be signed in to change notification settings - Fork 130
Source data too small. Allocating larger array instrument.ts:82 #94
Comments
I am getting the same warning message. The output of my onnx model is not the same of the original model but it is not always the same. Were you able to solve this issue? |
I tried to figure out the cause of that warning message. It looks like the webgl backend implementation in |
@fs-eire
Thanks! |
I would like to mention that I have built the latest version of the code and I can run the model with "wasm" back-end. |
Hello, everyone |
I also have this problem. I have to run it on the CPU version, as WASM version does not work either. |
Same problem here, can't use the GPU and WASM doesn't support most of the operators, the inference time drop from 250fps, with onnx on python, to 8fps with the CPU backend in the browser. |
Anybody found a solution for that problem? |
Guys, I think Microsoft programmers stopped working on this project, because Microsoft stopped to invest money into it. So I doubt anybody will ever fix it. The sooner we switch to some alternative, the better :/ |
Probably. Sadly we don't need much but if they can't even get simple convolutions to work we should probably try tensorflowjs. I removed all strides and used maxpooling instead and it still doesn't work. I wonder how other people managed to have it working. |
I created a model for image classification using pytorch and transformed it to onnx.
Trying a random value input [1,3,224,224] to it on background 'webgl', it seems the output is almost same, regardless of the value of the input.
Console said "Souce data too small. Allocating larger array instrument.ts:82". I'm not sure how and where to fix. I think there is something wrong with the model.
My model is at https://github.com/fumiya0/patimg-classification-test/TCGA3.onnx
and you can click "predict" at https://fumiya0.github.io//patimg-classification-test/ to see what happens when the model deals with an input. Sorry for a messy code!
When I try the model res50_8.onnx, which I downloaded at onnx demo repogitory, there is no warning message and it seems to work well.
Thanks!
The text was updated successfully, but these errors were encountered: