-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
ConcatOp : Dimensions of inputs should match: shape[0] = [1,40,40,256] vs. shape[1] = [1,38,50,256] #7398
Comments
@playground Could you provide the tfjs model and the input you are using? |
Hi @Linchenn, have you had a chance to try out the model provided above? |
Hi @Linchenn, just checking in. |
Hi, @playground Apologize for the delayed response and I was trying to replicate your issue on my system but I was getting below error message so Could you please help me with your complete code snippet which you're using or Is it possible for you to create a codepen example for us to reproduce your issue ? Here is screenshot for your reference and please help me with exact steps to replicate your issue if something I'm missing here ? Thank you! |
Here is the code snippet for loading the model and perform inferencing on an image.
|
@gaikwadrahul8 @Linchenn any updates on this? |
Hi, @playground Apologize for the delayed response and it seems like there is some issue with Input shape of pre-trained |
dataset was trained with 512x512
|
Hi, @playground Thank you for trying and providing the details, I found similar issue #6125 where user was getting similar error CC :@Linchenn |
Got the same error with 4.4.0, 4.1.0, 3.21.1 #7398 (comment) are the two functions that load in the image and perform inferencing on the image. Not sure if this will help, the same code works with this savedmodel. Please let me know if that are other things I can try, thank you. |
Any updates? |
same problem |
System information
Describe the current behavior
I have a working yolov5 model and exported it to tfjs saved_model. The saved_model loads fine, but throws this error when run predict
Other info / logs Include any logs or source code that would be helpful to
The text was updated successfully, but these errors were encountered: