Thread was locked by
a moderator
  • Jan 21, 2024
    ยท
    1 reply
    ARTIST HAWKINS
    !https://www.youtube.com/watch?v=qEn0dBVW18I
  • frenchpress ๐Ÿ”บ
    Jan 21, 2024
    ยท
    2 replies

    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

  • Totally Spice ๐Ÿ’…
    Jan 21, 2024
    ยท
    1 reply
    ARTIST HAWKINS

    OutKast, Jermaine Dupri, Gucci, RHQ, and more. :)

    You're right, but nooo.

    LAST NIGHT A DJ SAVED MY LIFE!

  • EchiBridgers ๐ŸŒŒ
    Jan 21, 2024
    ยท
    1 reply
  • im almost there ๐Ÿ˜ซ
    Jan 21, 2024
    frenchpress

    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

  • Jan 21, 2024
    ยท
    2 replies
    frenchpress

    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

  • ARTIST HAWKINS ๐Ÿฆด
    Jan 21, 2024
    ยท
    1 reply
    Totally Spice

    LAST NIGHT A DJ SAVED MY LIFE!

    That's New Yooork.

  • frenchpress ๐Ÿ”บ
    Jan 21, 2024
    ยท
    1 reply
    THEREALHNDRXXFREE

    Man i would love to quote that old avy rn

    quick

  • Totally Spice ๐Ÿ’…
    Jan 21, 2024
    ARTIST HAWKINS

    That's New Yooork.

    i kno but i wanted to quote it

  • Totally Spice ๐Ÿ’…
    Jan 21, 2024

  • ARTIST HAWKINS ๐Ÿฆด
    Jan 21, 2024
    ยท
    1 reply
    THEREALHNDRXXFREE
    !https://youtu.be/_T2yTDxJOdQ?si=ZwruhCkau8MP7ZDz

    Underrated.

    Jada's one of my faves.

  • Jan 21, 2024
    frenchpress

    quick

  • Jan 21, 2024

    ๐Ÿ˜Ž they not ready
    voca.ro/1fgrqKIXeNsT

  • im almost there ๐Ÿ˜ซ
    Jan 21, 2024
    ยท
    1 reply
    THEREALHNDRXXFREE

    Man i would love to quote that old avy rn

  • frenchpress ๐Ÿ”บ
    Jan 21, 2024
    ยท
    1 reply
    im almost there

    i also have people's old avis saved in tabs on my phone

  • Totally Spice ๐Ÿ’…
    Jan 21, 2024
    ยท
    2 replies
    EchiBridgers
    !https://www.youtube.com/watch?v=Da4P2uT4mVc

    @KodakSpice

    u kno this one?

  • im almost there ๐Ÿ˜ซ
    Jan 21, 2024
    ยท
    1 reply
    frenchpress

    i also have people's old avis saved in tabs on my phone

    post mines

  • frenchpress ๐Ÿ”บ
    Jan 21, 2024
    ยท
    1 reply
    Totally Spice

    u kno this one?

    !https://youtu.be/V0wInr_xATk?si=OjFNjM0MF0mycI-3

    she's hot

  • Totally Spice ๐Ÿ’…
    Jan 21, 2024
    ยท
    1 reply
    frenchpress

    she's hot

    Of Course

  • frenchpress ๐Ÿ”บ
    Jan 21, 2024
    im almost there

    post mines

  • frenchpress ๐Ÿ”บ
    Jan 21, 2024
    ยท
    1 reply
    Totally Spice

    Of Course

    true. couldn't get very far otherwise.

  • Totally Spice ๐Ÿ’…
    Jan 21, 2024
    ยท
    1 reply
    frenchpress

    true. couldn't get very far otherwise.

    ed sheeran

  • Jan 21, 2024
    ยท
    1 reply
    ARTIST HAWKINS

    Underrated.

    Jada's one of my faves.

    The last Kiss and Kiss of Death deserve more love fr

  • frenchpress ๐Ÿ”บ
    Jan 21, 2024
    ยท
    1 reply
    Totally Spice

    ed sheeran

    it's different. also he sucks

  • Totally Spice ๐Ÿ’…
    Jan 21, 2024
    frenchpress

    it's different. also he sucks

Thread was locked by
a moderator