for _ in range(3):
Closed this issue · 1 comments
XiaoPachong999 commented
Hello, I would like to inquire about the code of HungChun Lin that is publicly available in your project.
In the WGAN-GP code
class GAN():
def train_step(self, data):
for _ in range(1):
for _ in range(3):
What do these two for loops represent?
Does a 1 inside the loop mean that there is only one variable to predict, and does a 3 mean that the sliding window is 3?
Looking forward to your reply, thanks.
ChickenBenny commented
Hi~
that loop is use to do gradient penalty.
Maybe this video will help you understand GP:
https://www.youtube.com/watch?v=pG0QZ7OddX4&t=444s