Closed markus-hinsche closed 1 year ago
https://github.com/kbressem/trainlib/blob/main/trainlib/loss.py
MSELoss is defined in torch.nn
torch.nn
I'll rewrite the loss.py to accept more general loss functions. But until then, try patching loss.py. Loss, model, optim and transforms can all be overwritten by patch.
https://github.com/kbressem/trainlib/blob/main/trainlib/loss.py
MSELoss is defined in
torch.nn