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

Dataset download progress bar #1333

Open
joaquinvanschoren opened this issue Mar 23, 2024 · 2 comments
Open

Dataset download progress bar #1333

joaquinvanschoren opened this issue Mar 23, 2024 · 2 comments

Comments

@joaquinvanschoren
Copy link
Sponsor Contributor

Description

Downloading large datasets can take an unpredictable amount of time. It would be nice if a progress bar could be shown.

Steps/Code to Reproduce

openml_dataset = openml.datasets.get_dataset(ID)
X, y, _, _ = openml_dataset.get_data()

Expected Results

A progress bar is shown (either in standard out or in a notebook)

Actual Results

Nothing is shown

Versions

All

@PGijsbers
Copy link
Collaborator

It seems that there is a progress parameter to the fget_object call when downloading from minio: https://github.com/minio/minio-py/blob/74e8e5200d4dbf48ae9bbd6a8a2f54614e1958b3/minio/api.py#L1066
it's not in the main doc pages for whatever reason. I think it would be reasonable to only implement this for downloads from minio as otherwise files should generally be small (especially once we drop arff).

@PGijsbers
Copy link
Collaborator

This is implemented in #1335, which can hopefully be included in 0.15, whenever that may be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants