Skip to content

Does AccuracyMetric compute accumulated or mean values of each batch? #4357

@xiadingZ

Description

@xiadingZ

there are two version of calculate accuracy:

  1. calculate accuracy of each batch then do mean operation in validation_epoch_end
  2. accumulate each batch's correct, total values then compute accuracy once in validation_epoch_end

which ones does AccuracyMetric do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions