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

Add verbosity to TVAE (progress bar + save the loss values) #320

Merged
merged 8 commits into from
Oct 27, 2023

Conversation

frances-h
Copy link
Contributor

Resolve #300

@frances-h frances-h requested a review from a team as a code owner October 23, 2023 14:43
@frances-h frances-h requested review from amontanez24 and rwedge and removed request for a team October 23, 2023 14:43
Copy link

@rwedge rwedge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we test verbose=True?

@frances-h frances-h requested a review from rwedge October 24, 2023 13:45
ctgan/synthesizers/tvae.py Show resolved Hide resolved
Comment on lines +207 to +209
iterator.set_description(
iterator_description.format(
loss=loss.detach().cpu().item()))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add an integration test that checks the value is printed in the right format?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I meant an integration test without mocks that used something like capsys to check the printed output

Copy link
Contributor

@amontanez24 amontanez24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for adding the tests!

@frances-h frances-h merged commit 76c8a51 into main Oct 27, 2023
45 checks passed
@frances-h frances-h deleted the issue-300-tvae-verbosity branch October 27, 2023 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add verbosity TVAE (progress bar + save the loss values)
3 participants