deep-learning-v2-pytorch icon indicating copy to clipboard operation
deep-learning-v2-pytorch copied to clipboard

Test the Trained Network: calculate and print avg test loss

Open felipeLx opened this issue 3 years ago • 0 comments

Have a typo on the code. On the part of #calculate and print avg test loss

Don't exist the variable "classes", looks that should be "class_total" instead.

On for loop / else condition. Now it's: print('Test Accuracy of %5s: N/A (no training examples)' % (classes[i]))\n"

But looks that should be: print('Test Accuracy of %5s: N/A (no training examples)' % (class_total[i]))

felipeLx avatar Jul 03 '22 11:07 felipeLx