Thank You for your previous solution. But there are 2 issues.
First of all Images in my dataset are in grayscale but when I feed them I have to keep input channel as 3. Otherwise it wont work.
secondly I have been running the model multiple times but my accuracy has not increased I have tried 3, 10 and 100 epochs.

3e-adam.jpg717×423 20.9 KB