Product of input blob dimensions C,H,W (96,3448,1) must be equal to the parameter 'inputChannels' (96) #389
Labels
NN backend only
Affects only the NN backend (not MIL backend)
tf2.x / tf.keras
Issue could be related to tf2.x where coremltools isn't supported (component)
I have converted a tensorflow frozen model using tfcoreml converter to mlmodel format. However, while loading the model for prediction
model = MLModel('file.mlmodel')
the error shown is this -
I am using Python2.7 (outside
venv
)coremltools 3.0b1
MacOS 10.14.4
I am unable to understand the problem here.
In python3.7, the model loads successfully without any error. However, there calling predict on the model generates this issue #317 #372.
How do I solve this issue?
Thanks!
The text was updated successfully, but these errors were encountered: