Skip to content

Accuracy computation #1

@nboyd

Description

@nboyd

Hi,

It seems to me that the line
pred[w,h,int(label[w,h,1,n])+1,n] >= maximum(pred[w, h, 1:channels, n])
contains a potential bug if the prediction scores are, for instance, identically zero.

Note that this is very unlikely to happen after training starts, but it might be nice to fix just in case.

It might be better to compute an argmax of pred and then check that it is equal to the correct label.

-Nick

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