whisperX icon indicating copy to clipboard operation
whisperX copied to clipboard

Adding progress output during diarization when print_progress=True

Open agorman opened this issue 1 year ago • 1 comments

This is a progress output when performing diarization.. I don't often code in Python so I'm looking any feedback is welcome.

Sample output:

>>Performing transcription...
Progress: 25.00%...
Progress: 50.00%...
Progress: 75.00%...
Progress: 100.00%...
>>Performing alignment...
Progress: 25.00%...
Progress: 50.00%...
Progress: 75.00%...
Progress: 100.00%...
>>Performing diarization...
>>Performing diarization segmentation...
Progress: 0.0%...
Progress: 35.56%...
Progress: 71.11%...
Progress: 106.67%...
Progress: 100.0%...
Progress: 100.0%...
>>Performing diarization speaker_counting...
Progress: 100.0%...
>>Performing diarization embeddings...
Progress: 0.0%...
Progress: 11.11%...
Progress: 22.22%...
Progress: 33.33%...
Progress: 44.44%...
Progress: 55.56%...
Progress: 66.67%...
Progress: 77.78%...
Progress: 88.89%...
Progress: 100.0%...
Progress: 100.0%...
>>Performing diarization discrete_diarization...
Progress: 100.0%...

agorman avatar Dec 22 '24 22:12 agorman

what about to use tqdm as of industry standart.

iedmrc avatar Dec 30 '24 07:12 iedmrc

Closing this because of how far behind this PR is and it's not a must-have for whisperX. Please feel free to recreate the PR if you think this feature is absolutely needed

Barabazs avatar Jul 02 '25 06:07 Barabazs