A python abstraction for conditional generative adversarial network (CGAN) training based on PyTorch.