dandelin / Dynamic-memory-networks-plus-Pytorch

Implementation of Dynamic memory networks plus in Pytorch
https://arxiv.org/abs/1603.01417
126 stars 27 forks source link

Test Accuracy in the log.txt #5

Open shiningliang opened 5 years ago

shiningliang commented 5 years ago

Thank you for your unselfish sharing and nice work.

I noticed that the test accuracy writed in log.txt is as

fp.write(f'[Run {run}, Task {task_id}, Epoch {epoch}] [Test] Accuracy : {total_acc: {5}.{4}}' + '\n')

But the total_acc is the valid accuracy while test_acc / cnt is the correct one.