akanimax / T2F

T2F: text to face generation using Deep Learning
MIT License
547 stars 100 forks source link

I am getting this error and I checked out 1 parameter was passed in Losses.py. Can you help #11

Open jhamukesh998 opened 5 years ago

jhamukesh998 commented 5 years ago

Traceback (most recent call last): File "train_network.py", line 427, in main(parse_arguments()) File "train_network.py", line 380, in main device=device File "/home/mukesh/env1/local/lib/python2.7/site-packages/pro_gan_pytorch/PRO_GAN.py", line 523, in init self.loss = self.setup_loss(loss) File "/home/mukesh/env1/local/lib/python2.7/site-packages/pro_gan_pytorch/PRO_GAN.py", line 552, in setup_loss loss = losses.CondWGAN_GP(self.device, self.dis, self.drift, use_gp=True) File "/home/mukesh/env1/local/lib/python2.7/site-packages/pro_gan_pytorch/Losses.py", line 136, in init super().init(device, dis) TypeError: super() takes at least 1 argument (0 given)