Skip to content

Commit

Permalink
Update DN4_Train_5way1shot_Resnet.py
Browse files Browse the repository at this point in the history
  • Loading branch information
WenbinLee committed May 1, 2019
1 parent a3687f2 commit 80f6a85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions DN4_Train_5way1shot_Resnet.py
Expand Up @@ -396,8 +396,8 @@ def accuracy(output, target, topk=(1,)):


# =========================================== Evaluation ==========================================
print('============ Validation in the val ============')
print('============ validation in the val ============', file=F_txt)
print('============ Validation on the val set ============')
print('============ validation on the val set ============', file=F_txt)
prec1, _ = validate(val_loader, model, criterion, epoch_item, best_prec1, F_txt)


Expand Down Expand Up @@ -430,8 +430,8 @@ def accuracy(output, target, topk=(1,)):


# Testing Prase
print('============ Testing in the test ============')
print('============ Testing in the test ============', file=F_txt)
print('============ Testing on the test set ============')
print('============ Testing on the test set ============', file=F_txt)
prec1, _ = validate(test_loader, model, criterion, epoch_item, best_prec1, F_txt)


Expand Down

0 comments on commit 80f6a85

Please sign in to comment.