tf.saved_model.save(model, "path")
The get requests result says the model is deployed:
{ "version": "4", "state": "AVAILABLE", "status": { "error_code": "OK", "error_message": "" } }
I am converting my image to base64 using the 'react-native-image-base64' library and sending it using a post request with the correct format. However, as the error code says it expects a float
"error": "Failed to process element: 0 of \'instances\' list. Error: Invalid argument: JSON Value: {"Base64 image string here"} Type: Object is not of expected type: float"
with the following request :
curl --request POST \
--url 192.165.1.79:8001/v1/models/saved_model:predict \
--header 'content-type: application/json' \
--data '
{
"instances":
{
"b64": "HBwcIiIiIiIiHh4eGhoaGBgYExMTEBAQERERERERDw8PCQkJBQ.."
}
}'
current signature def
signature_def'serving_default':
The given SavedModel SignatureDef contains the following input(s):
inputs'conv2d_input' tensor_info:
dtype: DT_FLOAT
shape: (-1, 102, 136, 3)
name: serving_default_conv2d_input:0
The given SavedModel SignatureDef contains the following output(s):
outputs'dense' tensor_info:
dtype: DT_FLOAT
shape: (-1, 2)
name: StatefulPartitionedCall:0
Method name is: tensorflow/serving/predict
OutKast, Jermaine Dupri, Gucci, RHQ, and more. :)
You're right, but nooo.
LAST NIGHT A DJ SAVED MY LIFE!
tf.saved_model.save(model, "path")
The get requests result says the model is deployed:
{ "version": "4", "state": "AVAILABLE", "status": { "error_code": "OK", "error_message": "" } }
I am converting my image to base64 using the 'react-native-image-base64' library and sending it using a post request with the correct format. However, as the error code says it expects a float
"error": "Failed to process element: 0 of \'instances\' list. Error: Invalid argument: JSON Value: {"Base64 image string here"} Type: Object is not of expected type: float"
with the following request :
curl --request POST \
--url http://192.165.1.79:8001/v1/models/saved_model:predict \
--header 'content-type: application/json' \
--data '
{
"instances":
{
"b64": "HBwcIiIiIiIiHh4eGhoaGBgYExMTEBAQERERERERDw8PCQkJBQ.."
}
}'
current signature def
signature_def'serving_default':
The given SavedModel SignatureDef contains the following input(s):
inputs'conv2d_input' tensor_info:
dtype: DT_FLOAT
shape: (-1, 102, 136, 3)
name: serving_default_conv2d_input:0
The given SavedModel SignatureDef contains the following output(s):
outputs'dense' tensor_info:
dtype: DT_FLOAT
shape: (-1, 2)
name: StatefulPartitionedCall:0
Method name is: tensorflow/serving/predict
tf.saved_model.save(model, "path")
The get requests result says the model is deployed:
{ "version": "4", "state": "AVAILABLE", "status": { "error_code": "OK", "error_message": "" } }
I am converting my image to base64 using the 'react-native-image-base64' library and sending it using a post request with the correct format. However, as the error code says it expects a float
"error": "Failed to process element: 0 of \'instances\' list. Error: Invalid argument: JSON Value: {"Base64 image string here"} Type: Object is not of expected type: float"
with the following request :
curl --request POST \
--url http://192.165.1.79:8001/v1/models/saved_model:predict \
--header 'content-type: application/json' \
--data '
{
"instances":
{
"b64": "HBwcIiIiIiIiHh4eGhoaGBgYExMTEBAQERERERERDw8PCQkJBQ.."
}
}'
current signature def
signature_def'serving_default':
The given SavedModel SignatureDef contains the following input(s):
inputs'conv2d_input' tensor_info:
dtype: DT_FLOAT
shape: (-1, 102, 136, 3)
name: serving_default_conv2d_input:0
The given SavedModel SignatureDef contains the following output(s):
outputs'dense' tensor_info:
dtype: DT_FLOAT
shape: (-1, 2)
name: StatefulPartitionedCall:0
Method name is: tensorflow/serving/predict
Man i would love to quote that old avy rn
LAST NIGHT A DJ SAVED MY LIFE!
That's New Yooork.
Man i would love to quote that old avy rn
quick
That's New Yooork.
i kno but i wanted to quote it
![]()
Underrated.
Jada's one of my faves.
Man i would love to quote that old avy rn
![]()
![]()
i also have people's old avis saved in tabs on my phone
@KodakSpice
u kno this one?

i also have people's old avis saved in tabs on my phone
post mines
u kno this one?
!https://youtu.be/V0wInr_xATk?si=OjFNjM0MF0mycI-3she's hot
she's hot
Of Course
post mines
![]()
Of Course
true. couldn't get very far otherwise.
true. couldn't get very far otherwise.
ed sheeran
Underrated.
Jada's one of my faves.
The last Kiss and Kiss of Death deserve more love fr
ed sheeran
it's different. also he sucks
it's different. also he sucks