TengdaHan / DPC

Video Representation Learning by Dense Predictive Coding. Tengda Han, Weidi Xie, Andrew Zisserman.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to compute the self-supervised acc?

gaobb opened this issue · comments

Here it is:

DPC/dpc/main.py

Line 217 in ac25b1b

top1, top3, top5 = calc_topk_accuracy(score_flattened, target_flattened, (1,3,5))