Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing arguments in vgg_loss function #17

Open
YolCruz opened this issue Aug 25, 2019 · 2 comments
Open

Missing arguments in vgg_loss function #17

YolCruz opened this issue Aug 25, 2019 · 2 comments

Comments

@YolCruz
Copy link

YolCruz commented Aug 25, 2019

When you make the class VGG_LOSS, the function vgg_loss takes two arguments: y_true and y_pred, but when you call this astribute in the line 52 and 55 of train.py, you do not give those arguments. I'm getting an error from this missing arguments, what can I do to solve it?

@mrciolino
Copy link

i think he is passing an function as an object to keras to use that function as the loss function. Could you show the code you are using and the error?

@BassantTolba1234
Copy link

Please all,
I need the code of implementation this part
the part is

{The SRResNet networks
were trained with a learning rate of 10−4 and 106 update
iterations. We employed the trained MSE-based SRResNet
network as initialization for the generator when training
the actual GAN to avoid undesired local optima.{

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants