Hi,
I am new to Pytorch so sorry in advance if this is a trivial question. I would simply like to rescale the nn.MSELoss() in the spirit of rescaled_MSE() = C*MSELoss(). I tried to define a tensor C=torch.FloatTensor(1), C[0]= “some number”, but this gives an error because the multiplication does not accept the MSELoss as argument.
How can I rescale the nn.MSELoss() without constructing a loss function myself?
I know that this amounts to rescaling the gradients/learning rate, but I would like to fix the scale of the loss function to separate it conceptrually from the learning rate scale.
Thank you, any comments are appreciated.