-
Notifications
You must be signed in to change notification settings - Fork 74k
New issue
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
tflite conv bug #21817
Comments
Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. |
@andrehentz Can you verify the proposed fix generates intended behavior? |
@andrehentz Can you help to verify the proposed fix? Thanks. |
Thanks @zgxnet, you're right that's a bug, and your fix looks good. I'll prepare a change now (with a test) unless you prefer to submit a PR. |
@jdduke Have you prepared the change? I cannot see it on the master. |
The CL is still in review internally, but should land in the next day or two. Thanks for your patience! |
System information
There is a bug in the multithreaded implementation of conv2d. In certain cases when batch_size > 1, only the first image are considered while others ignored. For the reason see file contrib/lite/kernels/internal/optimized/multithreaded_conv.h
In the above code, the input_batches are ignored.
I have also verified a quick fix:
Just change 1 to input_batches.
My code works well based on my experiments.
It is a simple and quick fix, please merge it into the master if possible.
The text was updated successfully, but these errors were encountered: