kyzhouhzau / BERT-NER

Use Google's BERT for named entity recognition (CoNLL-2003 as the dataset).
MIT License
1.23k stars 335 forks source link

grpc error #56

Closed Reevens closed 5 years ago

Reevens commented 5 years ago

when i use tensroflow-serving grpc, the “response = stub.Predict(request, timeout)“ has a error message: status = StatusCode.FAILED_PRECONDITION details = "Batched output tensor's 0th dimension does not equal the sum of the 0th dimension sizes of the input tensors" debug_error_string = "{"created":"@1558057036.708000000","description":"Error received from peer","file":"src/core/lib/surface/call.cc","file_line":1017,"grpc_message":"Batched output tensor's 0th dimension does not equal the sum of the 0th dimension sizes of the input tensors","grpc_status":9}"