pytorch-a3c
pytorch-a3c copied to clipboard
The while True loop of function train?
The while True:
of https://github.com/ikostrikov/pytorch-a3c/blob/master/train.py#L35 cannot be break, because the only break
statement is in https://github.com/ikostrikov/pytorch-a3c/blob/master/train.py#L79 which is used to break for-loop: https://github.com/ikostrikov/pytorch-a3c/blob/master/train.py#L50
How to terminate that forever while-loop in your code?