Skip to content

Commit a8ae4fa

Browse files
committed
Fix variable unpacking
1 parent 7fa72ec commit a8ae4fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wbia_miew_id/train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def run_fn(self, model, train_loader, valid_loader, criterion, optimizer, schedu
4646
print('Group average score: ', valid_score)
4747
else:
4848
print('Evaluating on full test set')
49-
valid_score = eval_fn(valid_loader, model, device, use_wandb=use_wandb)
49+
valid_score, valid_cmc = eval_fn(valid_loader, model, device, use_wandb=use_wandb)
5050
print('Valid score: ', valid_score)
5151

5252
if valid_score > best_score:

0 commit comments

Comments
 (0)