You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even with verbose=False, CleanVision still prints two progress bars and the line "Reading images from DIRECTORY". I would like to suppress these outputs. A possible solution would be to move the current directory path into the desc description of tqdm and set leave=False so that the progress bars disappear after completion.
CleanVision is part of an inner loop in a larger script that processes hundreds of subfolders. The current progress bars clutter the overall output, making it harder to track the main progress. I’d like to adjust the progress display so that it disappears after each iteration and reduces unnecessary outputs.
Benefits of the Proposed Solution
Less visual clutter from unnecessary progress bars
Improved clarity of overall progress in large workflows
Reducing redundant outputs despite verbose=False
Possible Implementation
Move the directory path to the desc description in tqdm
Set leave=False so that progress bars disappear after completion
Optionally suppress the "Reading images from DIRECTORY" message
Alternatives
Add an additional option in CleanVision to control progress display (e.g., progress_mode='minimal')
Allow passing a custom tqdm instance for more flexible progress bar configuration
Current Workarounds
At the moment, there is no direct way to suppress these outputs. I could try:
Redirecting sys.stdout
Globally modifying tqdm behavior
…but these would be hacks rather than proper solutions.
Request
Would it be possible to integrate such an adjustment into CleanVision?
Could there be a configuration option for fine-tuning progress handling?
Thanks in advance for considering this!
The text was updated successfully, but these errors were encountered:
Summary
Even with
verbose=False
, CleanVision still prints two progress bars and the line"Reading images from DIRECTORY"
. I would like to suppress these outputs. A possible solution would be to move the current directory path into thedesc
description oftqdm
and setleave=False
so that the progress bars disappear after completion.Details
Problem Statement
CleanVision is part of an inner loop in a larger script that processes hundreds of subfolders. The current progress bars clutter the overall output, making it harder to track the main progress. I’d like to adjust the progress display so that it disappears after each iteration and reduces unnecessary outputs.
Benefits of the Proposed Solution
verbose=False
Possible Implementation
desc
description intqdm
leave=False
so that progress bars disappear after completion"Reading images from DIRECTORY"
messageAlternatives
progress_mode='minimal'
)tqdm
instance for more flexible progress bar configurationCurrent Workarounds
At the moment, there is no direct way to suppress these outputs. I could try:
sys.stdout
tqdm
behavior…but these would be hacks rather than proper solutions.
Request
Would it be possible to integrate such an adjustment into CleanVision?
Could there be a configuration option for fine-tuning progress handling?
Thanks in advance for considering this!
The text was updated successfully, but these errors were encountered: