Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/pliang279/MultiBench into main
Browse files Browse the repository at this point in the history
  • Loading branch information
lvyiwei1 committed Oct 21, 2021
2 parents cd484d7 + a66a74f commit ed01592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion training_structures/unimodal.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def test(encoder, head, test_dataloaders_all, dataset='default', method_name='My
if no_robust:
def testprocess():
single_test(encoder,head,test_dataloaders_all,auprc,modalnum,task,criterion)
all_in_one_test(testprocess,[model])
all_in_one_test(testprocess,[encoder,head])
return
def testprocess():
single_test(encoder, head, test_dataloaders_all[list(test_dataloaders_all.keys())[0]][0], auprc, modalnum, task, criterion)
Expand Down

0 comments on commit ed01592

Please sign in to comment.