recursionpharma / maes_microscopy

Official repo for Recursion's accepted spotlight paper at NeurIPS 2023 Generative AI & Biology workshop.
Other
33 stars 4 forks source link

Update loss.py #11

Open 1Pravi opened 4 months ago

1Pravi commented 4 months ago

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.