tadax / srgan

SRGAN implemetation with TensorFlow
83 stars 31 forks source link

TypeError: lrelu() takes 1 positional argument but 2 were given #3

Closed yangcheng001 closed 7 years ago

yangcheng001 commented 7 years ago

when I run "python train.py ",I got this error:

Traceback (most recent call last): File "train.py", line 96, in train() File "train.py", line 17, in train model = VGG19() File "/home/yc/tensorflow_samples/srgan-master_tadax/vgg19/vgg19.py", line 14, in init self.out, self.phi = self.build_model(self.x) File "/home/yc/tensorflow_samples/srgan-master_tadax/vgg19/vgg19.py", line 23, in build_model x = lrelu(x, self.trainable) TypeError: lrelu() takes 1 positional argument but 2 were given

Was there anything that I have ignored? thank you

tadax commented 7 years ago

Thank you for your report. I fixed bugs wholly. Could you try it again?

yangcheng001 commented 7 years ago

That's great! Thank you