We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, In the gan training code, since you have already used gen_cost.backward(mone) for generator, why are you still doing gen_cost = -gen_cost
gen_cost.backward(mone)
gen_cost = -gen_cost
i.e, should it not be
gen_cost.backward()
gen_cost = gen_cost*-1
The text was updated successfully, but these errors were encountered:
shouldnt it be 1 instead of -1, the generator should learn to output such a way that the crtiic believes there are real i.e 1 and not -1?
Sorry, something went wrong.
No branches or pull requests
Hi,
In the gan training code, since you have already used
gen_cost.backward(mone)
for generator, why are you still doinggen_cost = -gen_cost
i.e, should it not be
gen_cost.backward(mone)
or
gen_cost.backward()
and thengen_cost = gen_cost*-1
Please correct me if I am wrong.
The text was updated successfully, but these errors were encountered: