Skip to content

Silence Keras progress bars in ExpressionSampler predictions - #58

Open
ishita199615 wants to merge 1 commit into
google:mainfrom
ishita199615:fix-expression-sampler-verbosity
Open

Silence Keras progress bars in ExpressionSampler predictions#58
ishita199615 wants to merge 1 commit into
google:mainfrom
ishita199615:fix-expression-sampler-verbosity

Conversation

@ishita199615

Copy link
Copy Markdown

IdentitySampler already passes verbose=0 to decoder.predict(), but the two ExpressionSampler call sites do not, so every sample_expression and blend_expressions call prints a Keras progress bar. Pass verbose=0 for consistency. Also fixes the ExpressionSampler docstring, which described the class as sampling identities as well.

@google-cla

google-cla Bot commented Jul 28, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@ishita199615

Copy link
Copy Markdown
Author

@googlebot I signed it!

IdentitySampler already passes verbose=0 to decoder.predict(), but the
two ExpressionSampler call sites do not, so every sample_expression and
blend_expressions call prints a Keras progress bar. Pass verbose=0 for
consistency. Also fixes the ExpressionSampler docstring, which described
the class as sampling identities as well.
@ishita199615
ishita199615 force-pushed the fix-expression-sampler-verbosity branch from 23b65f8 to 1719207 Compare July 28, 2026 20:47
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.

1 participant