Skip to content

Dataset download progress bar #1333

Closed
Closed

Description

@joaquinvanschoren

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

Activity

  1. PGijsbers commented on Mar 23, 2024

    @PGijsbers
    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).

  2. PGijsbers commented on Apr 2, 2024

    @PGijsbers
    Collaborator

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

  3. added this to the 0.15.0 milestone on Sep 12, 2024
  4. PGijsbers commented on Sep 16, 2024

    @PGijsbers
    Collaborator

    Added in #1335, so it will be in the next release.
    Enable it by setting openml.config.show_progress = True.

    Might rename it to the more verbose but clearer "show_download_progress" before PyPI release - just something that came into my mind now.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions