Closed zhangshitoday closed 2 years ago
`fast-reid/projects/FastAttr/fastattr/attr_evaluation.py def get_attr_metrics(gt_labels, pred_logits, thres):
eps = 1e-20 pred_labels = copy.deepcopy(pred_logits) pred_labels[pred_logits < thres] = 0 pred_labels[pred_logits >= thres] = 1
` 请问这里只考虑2类吗,像age属性有[0,1,2,3] 四类,是适用的吗
应该是不行的,可能需要自己改写一下
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
`fast-reid/projects/FastAttr/fastattr/attr_evaluation.py def get_attr_metrics(gt_labels, pred_logits, thres):
` 请问这里只考虑2类吗,像age属性有[0,1,2,3] 四类,是适用的吗