Skip to content

About TP, TN, FP, FN #1201

@ferro07

Description

@ferro07

❔Question

Hi @glenn-jocher
Thanks for this great work.
I am trying to add Tp, Fp, Fn to the test results. Firstly, I am using this class for calling only tp : def ap_per_class(tp, conf, pred_cls, target_cls, plot=False, fname='precision-recall_curve.png'):

On the test.py, adding tp to the # Compute statistics, but I am getting followings

raceback (most recent call last):
File "test.py", line 272, in
test(opt.data,
File "test.py", line 88, in test
s = ('%20s' + '%12s' * 6) % ('Class', 'Images', 'Targets', 'P', 'R', '[email protected]', '[email protected]:.95', 'tp')
TypeError: not all arguments converted during string formatting

Thanks in advance for your help

Additional context

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