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

Allow option to disable progress bar when using GenericDataLoader #135

Open
xhluca opened this issue Mar 21, 2023 · 1 comment
Open

Allow option to disable progress bar when using GenericDataLoader #135

xhluca opened this issue Mar 21, 2023 · 1 comment

Comments

@xhluca
Copy link

xhluca commented Mar 21, 2023

Right now, when using the data loader:

corpus, queries, qrels = GenericDataLoader(data_dir).load(split=split)

Tqdm will always show up. there should be a way to disable it, e.g.:

corpus, queries, qrels = GenericDataLoader(data_dir).load(split=split, show_progress_bar=False)
@root-goksenin
Copy link

Hey xhluca,

I also was not fan of tqdm. It was really annoying sometimes.
When I do not need it, I disabled it by using the environment variable.
os.environ["TQDM_DISABLE"] = "1"

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

No branches or pull requests

2 participants