pytorch-SRResNet icon indicating copy to clipboard operation
pytorch-SRResNet copied to clipboard

Tips for training

Open leviethung2103 opened this issue 6 years ago • 1 comments

Hello, I would like to ask you about your experience in training the dataset. About choosing the iteration 500 (training will take about one week), size_average in MSE_Loss ? Why you set up size_average = False ? Thank you

leviethung2103 avatar Sep 26 '18 02:09 leviethung2103

Hi, if you set size_average = True, then the loss would become very small, and when you use the loss for gradient calculation, the gradient will also be very small. No good for the convergence speed.

twtygqyy avatar Sep 30 '18 07:09 twtygqyy