Hi!
Can somebody help me. I tried to do that lab and stuck on last task. When I make a prediction, I have an error:
{"error": "Invalid reduction dimension (1 for input with 1 dimension(s)\n\t [[{{function_node __inference__wrapped_model_1928}}{{node model/integer_lookup/bincount/Max}}]]"}
I tried different ways to make prediction: Python script / curl REST request / Deploy & Test tab in model. Always retrieve an error Invalid reduction dimension (1 for input with 1 dimension).
What I did incorrect?
Solved! Go to Solution.
Hi Guys! I have found an issue! I found the comment at GitHub (https://github.com/tensorflow/serving/issues/1926#issuecomment-952058898).
I should just to send an arrays in query:
{
"instances": [
{
"pilot_id": [11],
"ename": ["Practice"],
"events_name": ["Project Manhattan"],
"minimum_time": [80.0]
}
]
}
Maybe it can help someone.
There might be some issue
Hi Guys! I have found an issue! I found the comment at GitHub (https://github.com/tensorflow/serving/issues/1926#issuecomment-952058898).
I should just to send an arrays in query:
{
"instances": [
{
"pilot_id": [11],
"ename": ["Practice"],
"events_name": ["Project Manhattan"],
"minimum_time": [80.0]
}
]
}
Maybe it can help someone.
User | Count |
---|---|
21 | |
11 | |
7 | |
3 | |
2 |