deezer / deezer/spleeter

[Feature] store pretrained data in XDG_CONFIG_HOME or /usr/share

Open
#850 0 comments 0 reactions 0 assignees View on GitHub
enhancement feature
Dominant language
Python
Stars
28.4k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

Currently, `spleeter` (attempts to) download pretrained data to `pretrained_models` in the current directory. If `spleeter` is executed from different directories, the data is downloaded multiple times, wasting bandwidth and hard drive space.

Most programs are expected to store data in a subdirectory of `XDG_CACHE_HOME` or `/usr/share`.

I am aware of the `MODEL_PATH` environment variable that can be used as a workaround.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.