This version pauses at each frame to show the results. This is a debug state. Also the training parameters are too high, this is also for debug purposes.