-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Convert to tflite&Run tflite model:ValueError: Shapes incompatible #236
Comments
Me too! How to fix it ? Please |
I've got almost the same error : |
Me too! How to fix it ? Please |
I reinstalled the repo and recreate the conda environement and it fixed the error. |
I followed this tutorial and it succeeded. |
if you're running tiny model, set the flag --tiny true |
I meet the same problem. How do you solve it? My command:
And my error: |
@tomkisiela @atomrun39 @kaunghtetsan275 @w840401 @drahmad89 |
Got the same issue, I removed flag
|
Still not working for me. Same issue "ValueError: Shapes (1, 13, 13) and (1, 26, 26) are incompatible" |
Have you solved it? I have encountered the same problem. Looking forward to your reply, thanks! |
Refer this #413 |
Hi guys. I encountered the same issue in the evaluate.py script with Yolov4. It seems the order of the outputs,
So if you face this error and need the tiny model, swap |
First I use darknet to train the yolov4-tiny model, it has two detection classes, and the input image size is 224. The trained weight is first converted to tensorflow, and then converted to tflite. But shape incompatible error appears when running the tflite model, please see below for specific errors.
using:python detect.py --weights ./checkpoints/yolov4-224-fp16.tflite --size 224 --model yolov4 --image ./data/49.jpg --framework tflite
The text was updated successfully, but these errors were encountered: