robust_loss_pytorch icon indicating copy to clipboard operation
robust_loss_pytorch copied to clipboard

What should be in alpha and scale?

Open NeighborhoodCoding opened this issue 2 years ago • 1 comments

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.

NeighborhoodCoding avatar Jun 29 '22 05:06 NeighborhoodCoding

According to the gaussian formula, scale being the standard deviation cannot be 0

ControllableGeneration avatar Feb 08 '23 09:02 ControllableGeneration