Skip to content
New issue

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

Flush stdout buffer for epoch updates #14

Closed
kevinykuo opened this issue Jan 8, 2020 · 0 comments · Fixed by #19
Closed

Flush stdout buffer for epoch updates #14

kevinykuo opened this issue Jan 8, 2020 · 0 comments · Fixed by #19
Assignees
Labels
internal The issue doesn't change the API or functionality
Milestone

Comments

@kevinykuo
Copy link
Contributor

Could we add a flush=True to the print() call at

CTGAN/ctgan/synthesizer.py

Lines 217 to 218 in 152da67

print("Epoch %d, Loss G: %.4f, Loss D: %.4f" %
(i + 1, loss_g.detach().cpu(), loss_d.detach().cpu()))
This would unblock the messages to the R console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal The issue doesn't change the API or functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants