Traceback (most recent call last):


 "D:/DeblurGAN-master/train.py", line 73, in <module>

model = create_model(opt)


 "D:\DeblurGAN-master\models\models.py", line 10, in create_model

model = ConditionalGAN(opt)


 "D:\DeblurGAN-master\models\conditional_gan_model.py", line 58, in __init__

self.discLoss, self.contentLoss = init_loss(opt, self.Tensor)


 "D:\DeblurGAN-master\models\losses.py", line 188, in init_loss

disc_loss = DiscLossWGANGP(opt, tensor)


 "D:\DeblurGAN-master\models\losses.py", line 132, in __init__

super(DiscLossWGANGP, self).__init__(opt, tensor)


 "D:\DeblurGAN-master\models\losses.py", line 117, in __init__

super(DiscLoss, self).__init__(opt, tensor)
TypeError: object.__init__() takes no arguments

Traceback (most recent call last):


 "./scripts/train.py", line 253, in <module>

main()


 "./scripts/train.py", line 171, in main

m = preset_model(cfg)


 "./scripts/train.py", line 230, in preset_model

model = builder.build_sppe(cfg.MODEL, preset_cfg=cfg.DATA_PRESET)


 "/content/AlphaPose/alphapose/models/builder.py", line 27, in build_sppe

return build(cfg, SPPE, default_args=default_args)


 "/content/AlphaPose/alphapose/models/builder.py", line 18, in build

return build_from_cfg(cfg, registry, default_args)


 "/content/AlphaPose/alphapose/utils/registry.py", line 75, in build_from_cfg

return obj_cls(**args)


 "/content/AlphaPose/alphapose/models/fastpose.py", line 27, in __init__

self.preact = SEResnet(f"resnet{cfg['NUM_LAYERS']}")


 "/content/AlphaPose/alphapose/models/layers/SE_Resnet.py", line 173, in __init__

self.layer1 = self.make_layer(self.block, 64, self.layers[0], dcn=stage_dcn[0])


 "/content/AlphaPose/alphapose/models/layers/SE_Resnet.py", line 209, in make_layer

norm_layer=self._norm_layer, dcn=dcn))
TypeError: __init__() got an unexpected keyword argument 'dcn'