Firstly, thank you @ptrblck for your quick response. I am gonna try your recommendation asap.
Maybe I should have been more clear.
As I said, I am trying to detect existence of a specific object in an image. Actually my dataset has two classes. Half of them consist a plane, other half don’t consist plane. ( images are like there is a sky in all images, half of them have plane others don’t have).
To do this, I could not clearly determine what my network output should be. One class is okay?