We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I'm on @lordet01 implementation - https://github.com/lordet01/segan
In model.py the following part of code leads to OOM even with small batch_size. Could anyone solve this problem?
while not coord.should_stop(): start = 0 #timeit.default_timer() if counter % config.save_freq == 0: for d_iter in range(self.disc_updates): _d_opt, _d_sum, \ d_fk_loss, \ d_rl_loss = self.sess.run([d_opt, self.d_sum, self.d_fk_losses[0], #self.d_nfk_losses[0], self.d_rl_losses[0]]) if self.d_clip_weights: self.sess.run(self.d_clip) #d_nfk_loss, \ # now G iterations _g_opt, _g_sum, \ g_adv_loss, \ g_l1_loss = self.sess.run([g_opt, self.g_sum, self.g_adv_losses[0], self.g_l1_losses[0]]) else: for d_iter in range(self.disc_updates): _d_opt, \ d_fk_loss, \ d_rl_loss = self.sess.run([d_opt, self.d_fk_losses[0], #self.d_nfk_losses[0], self.d_rl_losses[0]]) #d_nfk_loss, \ if self.d_clip_weights: self.sess.run(self.d_clip) _g_opt, \ g_adv_loss, \ g_l1_loss = self.sess.run([g_opt, self.g_adv_losses[0], self.g_l1_losses[0]])
The text was updated successfully, but these errors were encountered:
Same problem,did you solve it?
Sorry, something went wrong.
No branches or pull requests
Hi,
I'm on @lordet01 implementation - https://github.com/lordet01/segan
In model.py the following part of code leads to OOM even with small batch_size.
Could anyone solve this problem?
The text was updated successfully, but these errors were encountered: