Skip to content
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

gRPC error #33

Open
aleenakvk opened this issue Oct 21, 2020 · 2 comments
Open

gRPC error #33

aleenakvk opened this issue Oct 21, 2020 · 2 comments

Comments

@aleenakvk
Copy link

Received gRPC Error: StatusCode.INVALID_ARGUMENT - input size does not match signature: 1!=3 len({inputs}) != len({input_anchors,input_image,input_image_meta}). Sent extra: {inputs}. Missing but required: {input_anchors,input_image,input_image_meta}.

I have got an error like this while serving. So is there any method to avoid this error without having any preprocessing on clientAPI

@smujiang
Copy link

@aleenakvk I got the same error, have you found a solution?

@aleenakvk
Copy link
Author

@aleenakvk I got the same error, have you found a solution?

Yes. My client API was already built by another software TensorFlow serving API. In client API they have asked for exactly one input. But according to the code in here it is sending 3 inputs and the client-side should be ready to accept this input. But in my case, I couldn't change the Client side. So I have changed the server-side. i.e, There is a pre-trained TensorFlow serving model for MaskRCNN is available on the TensorFlow API server website. So I have downloaded that and changed some architecture in accordance with my objective. So client-side and server-side, inputs and outputs got matched.

This solution was specific to my case. I am not sure whether this work for your case. I hope I could provide some insights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants