yangrongzhao commited on
Commit ·
3cd0042
1
Parent(s): db49207
Update README
Browse files- .gitattributes +1 -0
- README.md +50 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.axmodel filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,3 +1,53 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
| 4 |
+
|
| 5 |
+
# MelBandRoformer
|
| 6 |
+
|
| 7 |
+
Music Source Separation on AX650.
|
| 8 |
+
Separate songs into multiple stems like bass, drums, and vocals.
|
| 9 |
+
|
| 10 |
+
## Usage
|
| 11 |
+
|
| 12 |
+
### Install
|
| 13 |
+
|
| 14 |
+
1. Download and install Miniconda3
|
| 15 |
+
|
| 16 |
+
```
|
| 17 |
+
mkdir -p ~/miniconda3
|
| 18 |
+
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
|
| 19 |
+
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
|
| 20 |
+
rm ~/miniconda3/miniconda.sh
|
| 21 |
+
|
| 22 |
+
source ~/miniconda3/bin/activate
|
| 23 |
+
|
| 24 |
+
conda init --all
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
2. Create virtual environment
|
| 28 |
+
|
| 29 |
+
```
|
| 30 |
+
conda create -n mel_band python=3.10
|
| 31 |
+
conda activate mel_band
|
| 32 |
+
pip install -r requirements.txt
|
| 33 |
+
wget https://github.com/AXERA-TECH/pyaxengine/releases/download/0.1.3.rc1/axengine-0.1.3-py3-none-any.whl
|
| 34 |
+
pip install axengine-0.1.3-py3-none-any.whl
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
### Basic usage
|
| 38 |
+
|
| 39 |
+
```
|
| 40 |
+
conda activate mel_band
|
| 41 |
+
python main.py -i song.wav -o separated_song
|
| 42 |
+
```
|
| 43 |
+
Separated songs will be placed at separated_song directory
|
| 44 |
+
|
| 45 |
+
### Gradio app
|
| 46 |
+
|
| 47 |
+
```
|
| 48 |
+
conda activate mel_band
|
| 49 |
+
python gradio_app.py
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
Graio gui:
|
| 53 |
+

|