Hi Connor!



 connorlee77:

Would PyTorch drive the loss … towards -infinity or would it go towards 0?


The standard pytorch optimizers attempt to minimize the loss, that is
to make it algebraically smaller (less positive, more negative).
As an aside, because they use variations on gradient descent, they
don’t care about the overall level of the loss – where zero is – just
what direction it is going.  So lossA and lossB = lossA - 1,000
get optimized the same way.
Best.
K. Frank