Skip to content

TensorFlow Lite probability the same for all classes #10084

@sonfire186

Description

@sonfire186

Search before asking

Question

After converting to tf lite I always get the same probabilities for all classes
python export.py --weights best.pt --img 1280 --include tflite --nms --topk-per-class 2 --topk-all 20 --int8

array([[0.6280124, 0.6280124, 0.6280124, 0.6280124, 0.6280124, 0.6280124,
        0.6280124, 0.6280124, 0.6280124, 0.6280124, 0.       , 0.       ,
        0.       , 0.       , 0.       , 0.       , 0.       , 0.       ,
        0.       , 0.       ]], dtype=float32)

Additional

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleStale and schedule for closing soonquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions