diff --git a/test.py b/test.py index 1fc4aa7..4aa4ddb 100644 --- a/test.py +++ b/test.py @@ -52,7 +52,7 @@ def testNet(testloader): total += labels.size(0) correct += (predicted == labels).sum().item() - print(f'Accuracy of the network: {100 * correct // total} %') + #print(f'Accuracy of the network: {100 * correct // total} %') if __name__ == '__main__': @@ -79,5 +79,6 @@ if __name__ == '__main__': for item in testdata: for i in range(len(item)): the_file.write(f'data: {item[0][i]} \n true value: {item[1][i]} \n prediction: {item[2][i]}\n') + print(f'data: {item[0][i]} \n true value: {item[1][i]} \n prediction: {item[2][i]}\n') \ No newline at end of file