Skip to content

Wrong Prediction #2

@emeraldsoft3

Description

@emeraldsoft3

Testing on new image: C:\Users\HP\Music\images\1.jpg
WARNING:tensorflow:5 out of the last 5 calls to <function Model.make_predict_function..predict_function at 0x00000197C9B8B2E0> triggered tf.function retracing. Tracing is expensive and the excessive number of tracings could be due to (1) creating @tf.function repeatedly in a loop, (2) passing tensors with different shapes, (3) passing Python objects instead of tensors. For (1), please define your @tf.function outside of the loop. For (2), @tf.function has reduce_retracing=True option that can avoid unnecessary retracing. For (3), please refer to https://www.tensorflow.org/guide/function#controlling_retracing and https://www.tensorflow.org/api_docs/python/tf/function for more details.
1/1 [==============================] - 0s 163ms/step
Predicted Age: 47
Predicted Sex: Male

wrong predicted when i upload baby girl image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions