deep-learning-v2-pytorch
deep-learning-v2-pytorch copied to clipboard
why there is difference for averaging validation loss and testloss
to get total average valid loss you divide by len(valid_loader) but for avaerage test loss you divide by len(test_loader.dataset). This does not seems correct. And also you are multiplying the loss with batch_size in test runs, but you dont do it for validation. Why?