Simple regression does not converge

I’m trying to to train a 2 layered dense network to map input dataset (double) to output (double). But it is not converging and the output is a constant number. (the dataset is generated with sine function).
Accuracy remains equal to 0 throughout the training.

Hi can you share the model config file and dataset so that I can check.

1 Like