Skip to content

Passing save-txt flag changes validation results #760

@kymillev

Description

@kymillev

I am running the latest version as of today (08/17/2020).

🐛 Bug

When running python test.py on a custom dataset the results with and without the save-txt flag are different.

To Reproduce (REQUIRED)

Without save-txt:

!python test.py --weights best_run7.pt --data routeyou.yaml --img 1024

 Class      Images     Targets           P           R      [email protected]
 all         128          71       0.934       0.958        0.99       0.909

With save-txt:

!python test.py --weights best_run7.pt --data routeyou.yaml --img 1024 --save-txt

Class      Images     Targets           P           R      [email protected]
all         128          71       0.907        0.93       0.958       0.569

Expected behavior

The validation results should be the same (except for the last one regarding the speed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions