mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-30 12:22:58 +00:00
📝 update README
This commit is contained in:
@@ -8,6 +8,7 @@ library build backend.
|
||||
* `-i` option is now deprecated and replaced by traditional CLI input argument listing
|
||||
* Project is now built using Poetry
|
||||
* Project requires code formatting using Black and iSort
|
||||
* Dedicated GPU package `spleeter-gpu` is not supported anymore, `spleeter` package will support both CPU and GPU hardware
|
||||
|
||||
### API changes:
|
||||
|
||||
|
||||
18
README.md
18
README.md
@@ -2,6 +2,9 @@
|
||||
|
||||
[](https://github.com/deezer/spleeter/actions)  [](https://badge.fury.io/py/spleeter) [](https://anaconda.org/conda-forge/spleeter) [](https://hub.docker.com/r/researchdeezer/spleeter) [](https://colab.research.google.com/github/deezer/spleeter/blob/master/spleeter.ipynb) [](https://gitter.im/spleeter/community) [](https://joss.theoj.org/papers/259e5efe669945a343bad6eccb89018b)
|
||||
|
||||
> :warning: [Spleeter 2.1.0](https://pypi.org/project/spleeter/) release introduces some breaking changes, including new CLI option naming for input, and the drop
|
||||
> of dedicated GPU package. Please read [CHANGELOG](CHANGELOG.md) for more details.
|
||||
|
||||
## About
|
||||
|
||||
**Spleeter** is [Deezer](https://www.deezer.com/) source separation library with pretrained models
|
||||
@@ -46,7 +49,7 @@ conda install -c conda-forge spleeter
|
||||
# download an example audio file (if you don't have wget, use another tool for downloading)
|
||||
wget https://github.com/deezer/spleeter/raw/master/audio_example.mp3
|
||||
# separate the example audio into two components
|
||||
spleeter separate -i audio_example.mp3 -p spleeter:2stems -o output
|
||||
spleeter separate -p spleeter:2stems -o output audio_example.mp3
|
||||
```
|
||||
|
||||
You should get two separated audio files (`vocals.wav` and `accompaniment.wav`) in the `output/audio_example` folder.
|
||||
@@ -55,13 +58,18 @@ For a detailed documentation, please check the [repository wiki](https://github.
|
||||
|
||||
## Development and Testing
|
||||
|
||||
The following set of commands will clone this repository, create a virtual environment provisioned with the dependencies and run the tests (will take a few minutes):
|
||||
This project is managed using [Poetry](https://python-poetry.org/docs/basic-usage/), to run test suite you
|
||||
can execute the following set of commands:
|
||||
|
||||
```bash
|
||||
# Clone spleeter repository
|
||||
git clone https://github.com/Deezer/spleeter && cd spleeter
|
||||
python -m venv spleeterenv && source spleeterenv/bin/activate
|
||||
pip install . && pip install pytest pytest-xdist
|
||||
make test
|
||||
# Install poetry
|
||||
pip install poetry
|
||||
# Install spleeter dependencies
|
||||
poetry install
|
||||
# Run unit test suite
|
||||
poetry run pytest tests/
|
||||
```
|
||||
|
||||
## Reference
|
||||
|
||||
Reference in New Issue
Block a user