mmfewshot icon indicating copy to clipboard operation
mmfewshot copied to clipboard

[Fix] eval hook resume best acc

Open linyq17 opened this issue 3 years ago • 1 comments

Modification

  1. Resume the best accuracy from the checkpoint in eval hook. #30
  2. Make eval hook run before checkpoint saver hook by changing the priority to 45.

linyq17 avatar Dec 30 '21 05:12 linyq17

Codecov Report

Merging #33 (132250a) into main (f524344) will increase coverage by 0.04%. The diff coverage is 100.00%.

:exclamation: Current head 132250a differs from pull request most recent head 624bce6. Consider uploading reports for the commit 624bce6 to get more accurate results Impacted file tree graph

@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
+ Coverage   60.40%   60.44%   +0.04%     
==========================================
  Files         116      116              
  Lines        7397     7400       +3     
  Branches     1458     1459       +1     
==========================================
+ Hits         4468     4473       +5     
  Misses       2610     2610              
+ Partials      319      317       -2     
Flag Coverage Δ
unittests 60.40% <100.00%> (+0.04%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mmfewshot/classification/apis/train.py 18.33% <ø> (ø)
...wshot/classification/core/evaluation/eval_hooks.py 77.90% <100.00%> (+3.20%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f524344...624bce6. Read the comment docs.

codecov[bot] avatar Dec 30 '21 05:12 codecov[bot]