Trains a neural network to detect clouds