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

Default download location #35

Open
cifkao opened this issue Dec 27, 2020 · 1 comment
Open

Default download location #35

cifkao opened this issue Dec 27, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@cifkao
Copy link
Contributor

cifkao commented Dec 27, 2020

There could be a default location where datasets are downloaded, like with TensorFlow Datasets. This should be possible to configure (.muspyrc?).

@salu133445
Copy link
Owner

We follow torchvision to have root directory as an argument. I am not sure how much efforts need to make this works as expected. A super naive implementation is to provide a default value for path if it is not given. For example, we could download datasets into $HOME/.muspy (configurable) and use a pattern like $HOME/.muspy/{module_name}/{class_name} for different datasets, e.g., $HOME/.muspy/maestro/MAESTRODatasetV1 for the MAESTRO Dataset v1 (the full path is somewhat ugly though).

I know tfds and mirdata both have a centralized directory for storing downloaded datasets. We could follow them if we want to add this feature.

@salu133445 salu133445 added the enhancement New feature or request label Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants