Skip to content

Avoid multiple progress barsΒ #1811

@manuelgloeckler

Description

@manuelgloeckler

πŸš€ Multiple progress bars can lead to confusing printouts.

In e.g. #1473 progress bars confusingly reported different number of samples, which indicated that the wrong number of samples were generated which however was not the case (see analysis on last comment).

In this specific case, because a IID score method was used, three possible origins exist:

  • Initial hyperparameter estimation run, calls sample here but show_progressbar=False so this should be suppressed.
  • accept_reject_sample has rejection sampling progressbar
  • Diffuser.run has diffusion per-step progressbar.

One can think about handling "hierarchy" of progressbars better (or removing/surpressing lower level bars). I have no concrete idea on resolving this for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions