Finished image proecessing. The training set is 19x19 images, that doesn't work.
Now it takes less than 20x20 images and makes them 20x20 at least