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

Fix logging visualization of labeller pipelines #310

Merged
merged 4 commits into from
Jan 31, 2024
Merged

Conversation

plaguss
Copy link
Contributor

@plaguss plaguss commented Jan 30, 2024

Description

Fixes the problem with the logging of labelling pipelines mentioned in #274.

Also another problem with the rich progress bar:
image
It takes into account the rows, but should take into account the batch_size to ensure it finishes

@plaguss plaguss marked this pull request as ready for review January 30, 2024 11:59
@plaguss plaguss self-assigned this Jan 30, 2024
)

def _labelling_progress_func(advance=None) -> None:
labelling_progress_bar(advance=1)

_labelling_progress_func()
Copy link
Member

Choose a reason for hiding this comment

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

Why is this required here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

running the examples noticed that the progress_bar never reaches the last element, starts from 0 and doesn't reach the end otherwise. Also unrelated but for a single session in a notebook for example, the progress bar only appears once, that could be tackled in a different PR.

@plaguss plaguss merged commit 43e3d9d into main Jan 31, 2024
4 checks passed
@plaguss plaguss deleted the fix/logs-labeller branch January 31, 2024 07:45
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.

None yet

2 participants