Solved by ptrblck in post #2 
              
              
                It looks like you are using LuaTorch. As LuaTorch is not in active development, I would recommend to give PyTorch a try. There is a link in the repo to the PyTorch implementation of Pix2Pix.