You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to load inceptionV3 model in keras-js I get following error:
Error: cwise: Arrays do not all have the same shape!
at assign_cwise_thunk (eval at createThunk (backgroundscript.js:113190), <anonymous>:8:71)
at Object.assign_ndarrayops [as assign] (eval at makeOp (backgroundscript.js:2705), <anonymous>:3:43)
at Conv2D._padInput (backgroundscript.js:31435)
at Conv2D._callCPU (backgroundscript.js:31502)
at Conv2D.call (backgroundscript.js:31393)
at Model._traverseDAG (backgroundscript.js:102501)
at Model._traverseDAG (backgroundscript.js:102515)
at <anonymous>
The model is prepared in a following manner:
1: The model is loaded and then exported in keras using following code:
KerasJS doesn't support None, internally model with shape lets say (None, 299, 299, 3) would be represented as (299, 299, 3) or model with shape (None, None, None, 3) would be just (3)
Hi,
When I try to load inceptionV3 model in keras-js I get following error:
The model is prepared in a following manner:
1: The model is loaded and then exported in keras using following code:
2: The model is than encoded using latest(see the commit below) keras-js encoder.py
The aforementioned error is generated when the model is loaded by keras-js using following code:
What I find peculiar is that the inceptionv3 model loaded in keras-js example differs than the one that I generate.
small part of configuration part of model generated by me:
full model configuration here -> https://www.dropbox.com/s/o42oc243huqqlbk/myModel.txt?dl=0
small part of configuration part of model used in example:
full model configuration here -> https://www.dropbox.com/s/7ld1pmbjsj5g8fo/exampleModel.txt?dl=0
Issue happens in following environment
npm [email protected], [email protected], [email protected], [email protected]
I've spent whole day on this issue and couldnt find the solution. Any help would by greatly appreciated.
The text was updated successfully, but these errors were encountered: