Hi everybody,
I’m trying to develop a neural network in charge of predicting Fourier’s coefficients of a mask from an image. Then I use this coefficients to reconstruct a mask by convulving a gaussian over predicted points.
My implementation of these functions looks like :
My neural network is created using this function :
All these functions seems to work correctly
Next, I train my model using this function :
and these parameters :
But the problem is, it doesn’t work
The loss doesn’t decrease, and I didn’t find what.
I’ve tried with different epoch, batch, LR and nothing solves the problem
Can someone have an idea ?
Thank you for all,
A beginner with love