robust_loss_pytorch
robust_loss_pytorch copied to clipboard
What should be in alpha and scale?
I want to set alpha = 0 and scale = 999 to the lossfun()
but it shold be tensor, to i just coded like, torch.FloatTensor(0) and torch.FloatTensor(999) to alpha and scale.
but there was error like, assert (scale > 0).all()
what is examplary input to the alpha and scale?
thx.
According to the gaussian formula, scale being the standard deviation cannot be 0