Skip to content

Commit

Permalink
Fix variable unpacking
Browse files Browse the repository at this point in the history
  • Loading branch information
LashaO committed Aug 15, 2024
1 parent 7fa72ec commit a8ae4fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wbia_miew_id/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def run_fn(self, model, train_loader, valid_loader, criterion, optimizer, schedu
print('Group average score: ', valid_score)
else:
print('Evaluating on full test set')
valid_score = eval_fn(valid_loader, model, device, use_wandb=use_wandb)
valid_score, valid_cmc = eval_fn(valid_loader, model, device, use_wandb=use_wandb)
print('Valid score: ', valid_score)

if valid_score > best_score:
Expand Down

0 comments on commit a8ae4fa

Please sign in to comment.