Le Zhang
Results
2
issues of
Le Zhang
Look at the following code: ``` with self.monitored_environment(), session_context as self.session: self.synchronize_workers() if self.is_train: self.train() else: self.test() ``` After trying several times, I felt the "with ... as" will _**exit**_...
https://github.com/caogang/wgan-gp/blob/ae47a185ed2e938c39cf3eb2f06b32dc1b6a2064/gan_language.py#L159 Right before this line, it should be added `"gradients = gradients.view(BATCH_SIZE, -1)"`?