Not too sure about training parameters for z image yet and the model seems to overfit really quickly, but it works.