Hello @ptrblck. I use Lovasz_highe (link https://github.com/bermanmaxim/LovaszSoftmax/blob/master/pytorch/lovasz_losses.py 23  )
I have problem RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn
I change function with no error, can you fix error of Lovasz_loss in pytorch 1.12.0. Thanks