audeering / audbcards

Data cards for audio datasets
https://audeering.github.io/audbcards/
Other
0 stars 0 forks source link

Use the system wide audb cache #53

Closed hagenw closed 7 months ago

hagenw commented 7 months ago

At the moment we force audb to cache its file in the audbcards cache, e.g. https://github.com/audeering/audbcards/blob/a81f66a9032eb3b7f1da4c04633312f52956f5f3/audbcards/core/datacard.py#L119-L125 and https://github.com/audeering/audbcards/blob/a81f66a9032eb3b7f1da4c04633312f52956f5f3/audbcards/core/dataset.py#L109-L114

I think it would be better (and most likely faster) to use the default audb cache. This could easily be achieved by not providing the cache_root argument when calling the audb functions.