Skip to content

Commit

Permalink
add log files
Browse files Browse the repository at this point in the history
  • Loading branch information
YANG-H committed Dec 15, 2021
1 parent e227502 commit da2b34a
Show file tree
Hide file tree
Showing 17 changed files with 2,244 additions and 12 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ python -m blueprint.run farl/experiments/{task}/{train_config_file}.yaml --exp_n

The repo has included some config files under `./farl/experiments/train_*` that perform finetuning for face parsing and face alignment:

| File Name | Task | Benchmark |
| ---- | ---- | ---- |
| face_parsing/train_celebm_farl-b-ep16-448_refinebb.yaml | Face Parsing | CelebAMask-HQ |
| face_parsing/train_lapa_farl-b-ep16_448_refinebb.yaml | Face Parsing | LaPa |
| face_alignment/train_aflw19_farl-b-ep16_448_refinebb.yaml | Face Alignment | AFLW-19 |
| face_alignment/train_ibug300w_farl-b-ep16_448_refinebb.yaml | Face Alignment | 300W |
| face_alignment/train_wflw_farl-b-ep16_448_refinebb.yaml | Face Alignment | WFLW |
| File Name | Task | Benchmark | Score (%) | Log |
| ---- | ---- | ---- | --- | --- |
| face_parsing/train_celebm_farl-b-ep16-448_refinebb.yaml | Face Parsing | CelebAMask-HQ | F1-mean=89.56 | [Path](./logs/face_parsing.train_celebm_farl-b-ep16-448_refinebb) |
| face_parsing/train_lapa_farl-b-ep16_448_refinebb.yaml | Face Parsing | LaPa | F1-mean=93.88 | [Path](./logs/face_parsing.train_lapa_farl-b-ep16_448_refinebb) |
| face_alignment/train_aflw19_farl-b-ep16_448_refinebb.yaml | Face Alignment | AFLW-19 | NME_diag (Full)=0.943 | [Path](./logs/face_alignment.train_aflw19_farl-b-ep16_448_refinebb) |
| face_alignment/train_ibug300w_farl-b-ep16_448_refinebb.yaml | Face Alignment | 300W | NME_inter-ocular (Full)=2.93 | [Path](./logs/face_alignment.train_ibug300w_farl-b-ep16_448_refinebb) |
| face_alignment/train_wflw_farl-b-ep16_448_refinebb.yaml | Face Alignment | WFLW | NME_inter-ocular (Full)=3.96 | [Path](./logs/face_alignment.train_wflw_farl-b-ep16_448_refinebb) |

Note that due to code refactorization, the evaluation scores might not be exactly the same with those reported in our paper, but should be at least comparable.

Expand Down
5 changes: 2 additions & 3 deletions farl/experiments/face_alignment/trainers/aflw19_farl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# batch_size,
# model_type, model_name, epoch,
# input_resolution, head_channel,
# [with_tail],
# optimizer_name, [lr_factor], enable_amp

package: farl.experiments.face_alignment
Expand Down Expand Up @@ -42,7 +41,7 @@ eval_dataprocessors:

networks:
main:
$PARSE('../networks/farl_with_tail.yaml' if ARGS.get('with_tail', False) else '../networks/farl.yaml',
$PARSE('../networks/farl.yaml',
model_type=ARGS['model_type'],
model_name=ARGS['model_name'],
epoch=ARGS['epoch'],
Expand Down Expand Up @@ -82,6 +81,6 @@ logger:
- class: blueprint.ml.TensorBoardLogger

enable_amp: $$enable_amp
max_epoches: 50
max_epoches: 150
states_save_interval: 5
eval_interval: 1
3 changes: 1 addition & 2 deletions farl/experiments/face_alignment/trainers/wflw_farl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ logger:
- class: blueprint.ml.TensorBoardLogger

enable_amp: $$enable_amp
max_epoches: 300
max_epoches: 150
states_save_interval: 20
# states_save_extra_steps: [0]
eval_interval: 1

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
global_step epoch inter_ocular inter_pupil
79 1 0.6938603153935186 1.0007135461877894
158 2 0.657202544035735 0.947878180609809
237 3 0.5942437631112558 0.8571159080222801
316 4 0.5153541282371238 0.7433465463143808
395 5 0.43596092506691264 0.6288058810763889
474 6 0.3696692572699653 0.5331338953088831
553 7 0.3209599812825521 0.4628272727683738
632 8 0.2852920249656395 0.41136655454282406
711 9 0.25721266004774307 0.37088377210828993
790 10 0.23293913382071035 0.33590449580439813
869 11 0.21075041029188368 0.30393558078342015
948 12 0.19013777838812934 0.27423734311704284
1027 13 0.1711132190845631 0.24682292231807001
1106 14 0.15316680625632959 0.22095425923665366
1185 15 0.13682133709942854 0.19738570319281684
1264 16 0.12224006652832031 0.1763552912959346
1343 17 0.10942455574318215 0.15786943788881655
1422 18 0.09835518024585865 0.1418988828305845
1501 19 0.08892521328396268 0.12829102410210502
1580 20 0.08095898098415799 0.11679317333080151
1659 21 0.07420643700493706 0.10704806292498553
1738 22 0.06878927725332755 0.09923118308738425
1817 23 0.06429115577980324 0.09274213578965929
1896 24 0.06066242500587746 0.08750940958658854
1975 25 0.05782491895887587 0.08341772997820819
2054 26 0.0555643152307581 0.0801592297024197
2133 27 0.05376143632111726 0.07756178114149305
2212 28 0.0522942754957411 0.07544752050329137
2291 29 0.05112982149477358 0.07376906783492476
2370 30 0.05013203797517 0.07233173935501663
2449 31 0.04934931507817021 0.07120437622070312
2528 32 0.04870449701944987 0.0702755468863028
2607 33 0.048184949380380135 0.06952665823477286
2686 34 0.0477588865492079 0.06891215289080585
2765 35 0.04741312309547707 0.0684135083799009
2844 36 0.04712403615315755 0.06799666793258102
2923 37 0.04685837427775065 0.06761345333523221
3002 38 0.046635401690447775 0.06729092068142362
3081 39 0.046439075469970705 0.06700773592348452
3160 40 0.04627925025092231 0.06677684783935547
3239 41 0.04612669768156829 0.06655597686767578
3318 42 0.04599809646606445 0.06636972074155455
3397 43 0.04589623698481807 0.06622195773654514
3476 44 0.04581450003164786 0.06610370212131077
3555 45 0.04573256174723307 0.06598514274314597
3634 46 0.0456449720594618 0.06585867140028212
3713 47 0.04557943344116211 0.06576444131356698
3792 48 0.045514615376790364 0.06567084700972946
3871 49 0.04543771743774414 0.06555993821885851
3950 50 0.04536860430682147 0.0654600567287869
4029 51 0.045321566970260053 0.06539171713369864
4108 52 0.04526751129715531 0.06531352290400752
4187 53 0.04522585339016384 0.06525283389621311
4266 54 0.0452039118166323 0.06522085401746962
4345 55 0.0451856048018844 0.06519388975920501
4424 56 0.04518868834884079 0.0651983967533818
4503 57 0.04520501737241392 0.06522165934244792
4582 58 0.045201806668882016 0.06521739253291377
4661 59 0.045186660907886644 0.06519589600739656
4740 60 0.04517789063630281 0.06518387971100983
4819 61 0.04515995802702727 0.06515805986192491
4898 62 0.045158923113787615 0.0651564845332393
4977 63 0.04514755672878689 0.065139932985659
5056 64 0.04514977843673141 0.0651433096991645
5135 65 0.04515587135597512 0.0651527828640408
5214 66 0.04513419115984881 0.06512234299271195
5293 67 0.045120246322066695 0.0651025136311849
5372 68 0.04510140595612703 0.06507567652949581
5451 69 0.04508084897641782 0.0650464446456344
5530 70 0.045046622664840136 0.06499745404278791
5609 71 0.04503271314832899 0.06497797789397063
5688 72 0.04502588554664894 0.06496858243589047
5767 73 0.04500220969871238 0.06493363557038484
5846 74 0.04498789751971209 0.06491264767116971
5925 75 0.04496110986780237 0.0648736317952474
6004 76 0.044944643091272427 0.06484949323866103
6083 77 0.04490138513070566 0.06478723596643518
6162 78 0.04488556473343461 0.06476544980649594
6241 79 0.044850745024504486 0.06471535011574074
6320 80 0.04482301429465965 0.0646763836895978
6399 81 0.04481165850604022 0.06466069398102937
6478 82 0.04483251218442564 0.06469176257098162
6557 83 0.04484093277542679 0.06470448529278791
6636 84 0.04485451380411784 0.06472460428873698
6715 85 0.044847191704644095 0.06471506754557292
6794 86 0.044840692590784145 0.06470596878616898
6873 87 0.04484142020896629 0.06470709906684027
6952 88 0.044849812542950666 0.06471952508997034
7031 89 0.04485143732141565 0.06472189867938007
7110 90 0.044862980312771264 0.06473900123878762
7189 91 0.04488459339848271 0.06477049368399161
7268 92 0.044888316260443796 0.0647761450873481
7347 93 0.04489872897112811 0.06479153103298611
7426 94 0.044903331332736544 0.0647981290464048
7505 95 0.04490427441067166 0.06479949951171875
7584 96 0.04490187962849935 0.06479584729229962
7663 97 0.04490327128657588 0.06479791711877894
7742 98 0.04489289389716254 0.06478361200403285
7821 99 0.04488016411110207 0.06476528732864945
7900 100 0.044874099448875146 0.06475690205891928
7979 101 0.04487638826723452 0.06476013042308666
8058 102 0.04486728950783059 0.06474684256094473
8137 103 0.04485716289944119 0.06473215597647208
8216 104 0.04485516371550383 0.06472913247567635
8295 105 0.04485218613236039 0.06472471731680411
8374 106 0.04485818015204535 0.06473367479112413
8453 107 0.04486638881542065 0.06474618558530454
8532 108 0.04486503247861509 0.06474430649368851
8611 109 0.04487720772072121 0.06476224969934534
8690 110 0.04487266893740054 0.06475546801531756
8769 111 0.044854411372432006 0.06472904064037181
8848 112 0.04484755904586227 0.06471932022659867
8927 113 0.04484360306351273 0.06471376065854673
9006 114 0.04483566990605107 0.06470187858298973
9085 115 0.044815180036756726 0.06467184843840422
9164 116 0.04480187098185221 0.06465257715295862
9243 117 0.04478308359781901 0.06462586720784505
9322 118 0.04476854536268446 0.06460494288691768
9401 119 0.04475960908112703 0.06459217071533203
9480 120 0.04475296868218316 0.06458241498028791
9559 121 0.04473786530671296 0.06456036744294343
9638 122 0.04472024352462203 0.06453508447717737
9717 123 0.04471198187934028 0.06452359799985533
9796 124 0.04471443670767325 0.06452708774142796
9875 125 0.04470228972258391 0.06450958251953125
9954 126 0.044697507222493486 0.06450288560655382
10033 127 0.044703875647650826 0.06451228812888816
10112 128 0.04470559226142035 0.0645151138305664
10191 129 0.04470377674809209 0.06451216803656684
10270 130 0.04471032177960431 0.06452147872359665
10349 131 0.04470223674067744 0.06450963196931062
10428 132 0.044692021829110605 0.06449496657760055
10507 133 0.04468679781313296 0.06448761975323712
10586 134 0.04468499289618598 0.06448493533664279
10665 135 0.0446793344285753 0.0644760979546441
10744 136 0.04468957406503183 0.06449032536259404
10823 137 0.04468241091127749 0.06447939696135345
10902 138 0.044675735191062646 0.0644694999412254
10981 139 0.044686988547996236 0.06448564176206235
11060 140 0.04468136540165654 0.06447777218288846
11139 141 0.04466952924375181 0.0644601751256872
11218 142 0.044656096564398874 0.06444074136239511
11297 143 0.04464109562061451 0.0644190611662688
11376 144 0.04463840060763889 0.06441517582646122
11455 145 0.044627645280626085 0.0643994790536386
11534 146 0.044627740648057725 0.06439946492513021
11613 147 0.044639612127233434 0.06441668051260489
11692 148 0.04464398136845341 0.06442279815673828
11771 149 0.044640399791576246 0.0644176271226671
11850 150 0.04463826991893627 0.06441417976661964
11929 151 0.044637574089898005 0.06441324728506582
12008 152 0.044641925670482495 0.06441957685682509
12087 153 0.04465226067437066 0.06443460958975333
12166 154 0.044644553573043255 0.0644235610961914
12245 155 0.04463862666377315 0.06441493564181858
12324 156 0.04464868969387478 0.06442938204164858
12403 157 0.04464668697781033 0.06442621725576896
12482 158 0.044641508879484953 0.06441836886935765
12561 159 0.044637439869068284 0.06441210994014034
12640 160 0.044632290027759695 0.06440500330041957
12719 161 0.04464153360437464 0.06441796620686849
12798 162 0.04463700188530816 0.06441076773184318
12877 163 0.04463275273640951 0.06440444522433811
12956 164 0.044625042102955 0.06439350975884331
13035 165 0.0446240778322573 0.06439213929352937
13114 166 0.04461834872210467 0.064384071915238
13193 167 0.04460672449182581 0.06436754156042028
13272 168 0.044606448985912185 0.06436713889793114
13351 169 0.04460464406896521 0.0643643131962529
13430 170 0.044601044831452545 0.06435871830692998
13509 171 0.04458692338731554 0.06433783637152778
13588 172 0.04456591782746492 0.06430723402235243
13667 173 0.04454994908085576 0.06428434583875868
13746 174 0.044539667058874056 0.06426956741898149
13825 175 0.04454309675428603 0.06427449120415582
13904 176 0.04453287477846499 0.06425969159161603
13983 177 0.0445320517928512 0.0642584482828776
14062 178 0.044536014839454935 0.06426362638120298
14141 179 0.044537007367169416 0.06426493326822917
14220 180 0.04453710626672815 0.06426463656955295
14299 181 0.04452750594527633 0.06425015484845197
14378 182 0.04451361408940068 0.06422915282072844
14457 183 0.04450813576027199 0.06422097947862414
14536 184 0.04451007489804868 0.06422333187527127
14615 185 0.04450375592267072 0.06421375274658203
14694 186 0.04450374532628942 0.0642134772406684
14773 187 0.0445094037939001 0.06422160113299334
14852 188 0.04450761653758861 0.06421917809380426
14931 189 0.04450048870510525 0.06420868767632379
15010 190 0.04449208224261249 0.0641966148659035
15089 191 0.04448889979609737 0.0641917970445421
15168 192 0.044483926561143666 0.06418451379846643
15247 193 0.044479377181441695 0.0641773365162037
15326 194 0.0444751916108308 0.06417086565936053
15405 195 0.044485127484356915 0.06418530499493634
15484 196 0.04448505684181496 0.06418539683024088
15563 197 0.04448850772998951 0.06419038419370297
15642 198 0.04450016021728516 0.06420748675311053
15721 199 0.0445012127911603 0.06420905501754195
15800 200 0.04451611836751302 0.0642309965910735
15879 201 0.04452592355233652 0.06424536528410735
15958 202 0.04453904893663194 0.06426450941297743
16037 203 0.04455234386302807 0.06428396436903212
16116 204 0.04456318396109122 0.06429982361970124
16195 205 0.044574688099048757 0.06431662241617839
16274 206 0.044585489343713834 0.06433243221706814
16353 207 0.04459690871062102 0.06434908972846137
16432 208 0.044608656565348306 0.0643660792598018
16511 209 0.04461703830295139 0.06437834986933956
16590 210 0.04462395773993598 0.06438842349582248
16669 211 0.04463105731540256 0.06439872317843967
16748 212 0.044638135698106554 0.06440902992531106
16827 213 0.04464664106015806 0.06442138530589916
16906 214 0.044654355225739656 0.06443251857051142
16985 215 0.044660013693350334 0.06444078374792028
17064 216 0.0446653648659035 0.06444868158411096
17143 217 0.04466853671603733 0.06445342169867621
17222 218 0.04467120700412326 0.06445739887378833
17301 219 0.044675537391945165 0.06446365780300564
17380 220 0.04467553385981807 0.0644635659677011
17459 221 0.04467774497138129 0.06446673075358073
17538 222 0.04467672771877713 0.0644651766176577
17617 223 0.044674340000859014 0.06446173632586444
17696 224 0.0446737218786169 0.06446084622983579
17775 225 0.04467190636528863 0.06445817594174985
17854 226 0.0446730790314851 0.06445988549126519
17933 227 0.044674385918511285 0.06446172926161024
18012 228 0.044673216784441916 0.06446009035463686
18091 229 0.04467954988832827 0.06446923856382017
18170 230 0.044686974419487845 0.06447988439489294
18249 231 0.044692113664415146 0.06448723121925637
18328 232 0.04469496762311017 0.06449127197265625
18407 233 0.04469964062726056 0.06449803952817564
18486 234 0.044700569576687284 0.06449928283691406
18565 235 0.04470235683299877 0.06450181183991609
18644 236 0.04470590308860496 0.0645069192956995
18723 237 0.04470559579354745 0.06450648131193938
18802 238 0.044706115016230834 0.06450713122332538
18881 239 0.04470971425374349 0.06451224574336299
18960 240 0.044718092459219476 0.06452426203974972
19039 241 0.044722959730360244 0.06453115675184462
19118 242 0.04472669318870262 0.06453635604293258
19197 243 0.04473141564263238 0.06454316598397714
19276 244 0.04473635002418801 0.06455036445900246
19355 245 0.04474109720300745 0.06455728036385995
19434 246 0.044747868290653935 0.06456705022741246
19513 247 0.044752604873092086 0.0645737400761357
19592 248 0.04475855650725188 0.06458235140200015
19671 249 0.04476099014282227 0.06458577756528501
19750 250 0.0447647942437066 0.06459122410526982
Loading

0 comments on commit da2b34a

Please sign in to comment.