xyutao / fscil

Official repository for Few-Shot Class-Incremental Learning (FSCIL)
221 stars 36 forks source link

Accuracy for each session #28

Open wusuoweima opened 3 years ago

wusuoweima commented 3 years ago

Do you report the average incremental accuracy [1] which is the weighted average accuracy of only those classes that have already been trained, such as the code of SDC[2] https://github.com/yulu0724/SDC-IL/blob/master/test.py

`

if k == 0: acc_ave += acc*(float(args.base) / (args.base+task_id*num_class_per_task)) else: acc_ave += acc*(float(num_class_per_task) / (args.base+task_id*num_class_per_task))

`

[1] R. Aljundi, P. Chakravarty, and T. Tuytelaars. Expert gate: Lifelong learning with a network of experts. In CVPR, pages 3366–3375, 2017. 2, 4, 6, 8 [2] Semantic Drift Compensation for Class-Incremental Learning