It worked thanks. Training accuracy is increasing as well as the validation is increasing and loss is also at minimum but in the test set the output after applying the sigmoid the values are all zeros none is 1