gina9726 / ProTeCt

Codes for "ProTeCt: Prompt Tuning for Taxonomic Open Set Classification"
MIT License
4 stars 1 forks source link

HCA metric #5

Closed yongwuML closed 4 days ago

yongwuML commented 1 week ago

HI, sorry to bother you again. In testing code, there are only contain Acc_leaf and MTA(25 or 100) metrics. NO HCA metric? right?

gina9726 commented 4 days ago

test.py is for evaluating MTA (and Acc) and HCA can be obtained with meter['consistency'] in eval_one_epoch().