Closed echan00 closed 5 years ago
I'm having the same problem
originally trained model on: tensor2tensor==1.9.0 tensorboard==1.10.0 tensorflow-gpu==1.10.1
And received the following errors: { "error": "Reshape cannot infer the missing input size for an empty tensor unless all specified input sizes are non-zero\n\t [[{{node transformer/body/parallel_0/body/encoder/layer_0/self_attention/multihead_attention/dot_product_attentio...
Updated to: mesh-tensorflow==0.0.3 tensor2tensor==1.10.0 tensorboard==1.12.0 tensorflow==1.12.0 tensorflow-gpu==1.10.1 tensorflow-serving-api==1.12.0
And now receive the following error: { "error": "Requested more than 0 entries, but params is empty. Params shape: [1,6,8,0,64]\n\t [[{{node transformer/while/GatherNd_17}}]]\n\t [[{{node transformer/strided_slice_11/_1015}}]]" }
Generated from the following post request, (the same happens with gRPC): curl --header "Content-Type: application/json" \ --request POST \ http://localhost:9001/v1/models/transformer:predict \ --data '{"instances":[{"input":{"b64":"CiAKHgoGaW5wdXRzEhQaEgoQpweFF0oOBsI+EclIBP4cAQ=="}}],"signature_name":"serving_default"}' \
Great, thanks.
Trying to serve my Chinese to English model and am having trouble querying. I am receiving an error "Requested more than 0 entires, but params is empty."
The model server seems to be working fine and responding with the same error:
This is my data request:
My environment: tensor2tensor (1.10.0) tensorboard (1.12.0) tensorflow (1.12.0) tensorflow-serving-api (1.12.0)
Would appreciate any help with this issue, it seems like it is related to Chinese -> English translation.