Skip to content

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

@jhamukesh998

Description

@jhamukesh998

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions