1. A device comprising: a processor; and a computer-readable medium in communication with the processor, the computer-readable medium including one or more modules comprising: a training supervisor module configured to initiate and control a neural network training process, the training supervisor module configured to receive a training image; a mask generator module configured to: generate candidate segment masks based on the training image received by the training supervisor module; and rank the candidate segment masks to generate ranked candidate segment masks; a mask selector module configured to select a set of the ranked candidate segment masks to generate a set of ranked candidate segment masks; and a neural network updater module configured to: select one of the set of ranked candidate segment masks to train the neural network; and train the neural network.