land_cover_classification_unet
land_cover_classification_unet copied to clipboard
Bug in Loss/train writer
Hello sir, I found your work thanks to the awesome Medium post and first of all I congratulate you.
During my code exploration I think I found a bug in line 138 of train.py :
writer.add_scalar('Loss/train', epoch_loss/n_train, epoch+1)
I think in fact that the division is wrong because it must be divided by the number of batches and not by the number of samples of trianing.
Am I wrong? Or is it really an error ?