Open bonnie-love-ai opened 7 years ago
I'm guessing this should be replaced by something like for _ in range(training_iters)
Because number of steps is set to 30000, unfortunately this takes a lot of time.So this seems infinite. Reduce the number iterations.
@arvind1705 No, in the demo code it literally is an infinite loop. The training_iters
is just never used.
You have to replace while 1: #training_iters:
to for i in range(training_iters):
Maybe this question is silly, but I do not get why the training loop is "while 1". Why wouldn't that train for an infinite number of times?