maes_microscopy icon indicating copy to clipboard operation
maes_microscopy copied to clipboard

Update loss.py

Open 1Pravi opened this issue 1 year ago • 0 comments

The code now supports dynamic loss weighting for the Fourier loss function. By setting dynamic_weight=True during initialization, the model can adaptively adjust the importance of the Fourier loss during training using a learnable parameter weight. This allows for more flexible optimization and potentially improved model performance.

1Pravi avatar May 01 '24 17:05 1Pravi