We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
作者您好,我将基于pytorch训练得到的onnx模型转化为tflite的过程中出现报错: ValueError: Exception encountered when calling layer "conv2d" (type Conv2D).
Negative dimension size caused by subtracting 3 from 2 for '{{node conv2d/Conv2D}} = Conv2D[T=DT_FLOAT, data_format="NHWC", dilations=[1, 1, 1, 1], explicit_paddings=[], padding="VALID", strides=[1, 2, 2, 1], use_cudnn_on_gpu=true](Placeholder, conv2d/Conv2D/ReadVariableOp)' with input shapes: [1,2,2,3], [3,3,3,32].
Call arguments received by layer "conv2d" (type Conv2D): • inputs=tf.Tensor(shape=(1, 2, 2, 3), dtype=float32)
The text was updated successfully, but these errors were encountered:
看了下评论区没有相似的错误,请问您有思路吗
Sorry, something went wrong.
No branches or pull requests
作者您好,我将基于pytorch训练得到的onnx模型转化为tflite的过程中出现报错:
ValueError: Exception encountered when calling layer "conv2d" (type Conv2D).
Negative dimension size caused by subtracting 3 from 2 for '{{node conv2d/Conv2D}} = Conv2D[T=DT_FLOAT, data_format="NHWC", dilations=[1, 1, 1, 1], explicit_paddings=[], padding="VALID", strides=[1, 2, 2, 1], use_cudnn_on_gpu=true](Placeholder, conv2d/Conv2D/ReadVariableOp)' with input shapes: [1,2,2,3], [3,3,3,32].
Call arguments received by layer "conv2d" (type Conv2D):
• inputs=tf.Tensor(shape=(1, 2, 2, 3), dtype=float32)
The text was updated successfully, but these errors were encountered: