Closed vifi2021 closed 3 years ago
Hi, thank you for your interest in our code. This line is correct, and it is supposed to be netD.
The following line compares the output
with the true label. The backward
function (code) will calculate the gradients for both the generator and the discriminator, and the step
function will update the generator's parameters.
https://github.com/YunzhuLi/VisGel/blob/b502e37861b722168f0e52f3fb664b10fd869d0a/train.py#L192
Should "NetD" be replaced by "NetG" in this line?