ultimatevocalremovergui/README.md

103 lines
7.9 KiB
Markdown
Raw Normal View History

2020-11-09 11:41:36 +01:00
# Ultimate Vocal Remover GUI v4.0.0
2020-11-09 19:49:25 +01:00
[![Release](https://img.shields.io/github/release/anjok07/ultimatevocalremovergui.svg)](https://github.com/anjok07/ultimatevocalremovergui/releases/latest)
2020-11-09 19:48:10 +01:00
[![Downloads](https://img.shields.io/github/downloads/anjok07/ultimatevocalremovergui/total.svg)](https://github.com/anjok07/ultimatevocalremovergui/releases)
2020-11-09 11:40:12 +01:00
![alt text](https://raw.githubusercontent.com/Anjok07/ultimatevocalremovergui/beta/img/UVRBETA.jpg)
This application is a GUI version of the vocal remover AI created and posted by tsurumeso. This would not have been possible without tsurumeso's hard work and dedication! You can find tsurumeso's original command line version [here](https://github.com/tsurumeso/vocal-remover)
2020-11-10 04:56:35 +01:00
A very special thanks to the main code contributor [DilanBoskan](https://github.com/DilanBoskan)! DilanBoskan, thank you for all of your support and hard work in helping bring this project to life!
2020-11-09 11:40:12 +01:00
## Installation
The application was made with Tkinter for cross platform compatibility, so this should work with Windows, Mac, and Linux systems. I've only personally tested this on Windows 10 & Linux Ubuntu.
### Install Required Applications & Packages
1. Download & install Python 3.7 [here](https://www.python.org/ftp/python/3.6.8/python-3.6.8-amd64.exe) (Make sure to check the box that says "Add Python 3.7 to PATH" if you're on Windows)
2020-11-10 04:56:35 +01:00
2. Once Python has installed, download Ultimate Vocal Remover GUI Version 4.1.0 here (link pending)
3. Place the UVR-V4GUI folder contained within the *.zip* file where ever you wish (your documents folder is recommended for ease of access).
4. From the UVR-V4GUI directory, open the Windows Command Prompt and run the following installs -
2020-11-09 11:40:12 +01:00
```
2020-11-09 13:12:14 +01:00
pip install --no-cache-dir -r requirements.txt
2020-11-09 11:40:12 +01:00
pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
```
2020-11-10 04:56:35 +01:00
### Running the Vocal Remover GUI & Models
2020-11-09 11:40:12 +01:00
2020-11-10 04:56:35 +01:00
1. Open the file labeled *'VocalRemover.py'*.
2. It's recommended that you create a shortcut for the file labeled *'VocalRemover.py'* to your desktop for easy access.
3. If you are having issues opening the *'VocalRemover.py'* file, please go to the **troubleshooting** section below.
2020-11-09 11:40:12 +01:00
## Option Guide
### Choose AI Engine:
- This option allows you to toggle between tsurumeso's v2 & v4 AI engines.
2020-11-10 04:56:35 +01:00
- **Please note** - The TTA option and the ability to set the N_FFT value are strictly **v4*** options.
2020-11-09 11:40:12 +01:00
### Model Selections:
2020-11-10 04:56:35 +01:00
- **Choose Main Model** - Here is where you choose the main model to convert your tracks with.
- **Choose Stacked Model** - These models are meant to clean up vocal residue left over in the form of vocal pinches and static. The stacked models provided are only meant for instrumental outputs generated by a track that ran through one of the main models. Selecting the *'Stack Passes'* option will enable you to select a stacked model to run with the main model. If you wish to only run a stacked model on a track, make sure the *'Stack Conversion Only* option is checked.
- The v2 & v4 AI engines use different sets of models. The available models for each engine will automatically populate within the model selection dropdowns based on which engine was selected.
2020-11-09 11:40:12 +01:00
### Parameter Values:
2020-11-10 05:03:42 +01:00
All models released here will have the values they were trained with appended to the end of the filename like so "MGM-HIGHEND_sr44100_hl512_w512_nf2048.pth". The "sr44100_hl512_w512_nf2048" portion automatically sets those values within the application, so please do not change the model files names. If there are no values appended to the end of a model, the value fields will be editable and auto-populate with default values. The default values are -
2020-11-09 11:40:12 +01:00
2020-11-10 04:56:35 +01:00
- **SR** - 44100
- **HOP LENGTH** - 1024
- **WINDOW SIZE** - 512
- **N_FFT** - 2048
2020-11-09 11:40:12 +01:00
### Checkboxes:
2020-11-10 04:56:35 +01:00
- **GPU Conversion** - This option ensures the GPU is used for conversions. It will not work if you don't have a Cuda compatible GPU (Nividia GPU's are most compatible with Cuda).
- **Post-process** - This option can potentially identify left over instrumental artifacts in the vocal outputs. This option may improve the separation on some songs. I recommend only using it if conversions don't come out well.
- **TTA** - This option performs Test-Time-Augmentation to improve the separation quality. However, having this selected will prolong the time it takes to complete a conversion. *Please note, this option is NOT compatible with the v2 AI engine.*
- **Output Image** - This option will include a spectrogram of the instrumental & vocal track outputs.
- **Stack Passes** - This option allows you to set the number of times you would like a track to run through a stacked model.
- **Stack Conversion Only** - Selecting this will allow you to bypass the main model and run a track through a stacked model only.
2020-11-10 05:07:48 +01:00
- **Save All Stacked Outputs** - If you are performing a stacked conversion, having this option selected will auto-generate a new directory to your *'Save to'* path with the track name. The new directory will contain all of the outputs generated by the whole conversion process. The amount of outputs will depend on how many stack passes you chose.
2020-11-10 04:56:35 +01:00
- **Model Test Mode** - This option is meant to make it easier for users to test the results of different models without having to manually create new folders and/or change the filenames. When it's selected, the application will auto-generate a new folder with the name of the selected model(s) in the *'Save to'* path you have chosen. The instrumental & vocal outputs will have the selected model(s) name(s) appended to them and save to the auto-generated directory.
2020-11-09 11:40:12 +01:00
### Other Buttons:
2020-11-10 04:56:35 +01:00
- **Add New Model** - This button will automatically take you to the models folder. If you are adding a new model, make sure to add it accordingly based on the AI engine it was trained on! All new models added will automatically be detected without having to restart the application.
2020-11-10 05:02:53 +01:00
- **Restart Button** - If the application hangs for any reason, you can hit the circular arrow button immediately to the right of the *'Start Conversion'* button.
2020-11-09 11:40:12 +01:00
## Models Included:
2020-11-10 05:02:53 +01:00
***PLEASE NOTE: Please do not change the name of the models provided! The required perameters are specified in the filenames.***
2020-11-09 11:40:12 +01:00
2020-11-10 05:02:53 +01:00
Here's a list of the models included within the package -
2020-11-09 11:42:47 +01:00
2020-11-10 05:02:53 +01:00
- *(list pending)*
A special thank you to aufr33 for helping expand the dataset used to train these models and for the dilligent advice!
2020-11-10 04:56:35 +01:00
2020-11-09 11:40:12 +01:00
## Troubleshooting:
2020-11-10 05:02:53 +01:00
- If the VocalRemover.py file won't open *under any circumstances* and all other resources have been exhausted, please do the following -
2020-11-09 11:40:12 +01:00
1. Open the cmd prompt from the UVR-V4GUI directory
2. Run the following command -
```
2020-11-09 11:53:22 +01:00
python VocalRemover.py
2020-11-09 11:40:12 +01:00
```
2020-11-10 05:02:53 +01:00
3. Copy and paste the error output in the cmd prompt to the issues center on the GitHub repository.
2020-11-09 11:40:12 +01:00
## Other GUI Notes:
2020-11-10 05:02:53 +01:00
- The application will automatically remember your *'save to'* path upon closing and reopening until you change it.
2020-11-09 11:40:12 +01:00
- You can select as many files as you like. Multiple conversions are supported!
2020-11-10 04:56:35 +01:00
- The ability to drag & drop files to convert has also been added.
- The Stacked Model is meant to clean up vocal residue left over in the form of vocal pinches and static. The stacked models provided are only meant for instrumental outputs from track run through one of the main models.
2020-11-09 11:40:12 +01:00
- Conversion times will greatly depend on your hardware. This application will NOT be friendly to older or budget hardware. Please proceed with caution! Pay attention to your PC and make sure it doesn't overheat.
## References
- [1] Jansson et al., "Singing Voice Separation with Deep U-Net Convolutional Networks", https://ismir2017.smcnus.org/wp-content/uploads/2017/10/171_Paper.pdf
- [2] Takahashi et al., "Multi-scale Multi-band DenseNets for Audio Source Separation", https://arxiv.org/pdf/1706.09588.pdf
2020-11-09 11:41:02 +01:00
- [3] Liutkus et al., "The 2016 Signal Separation Evaluation Campaign", Latent Variable Analysis and Signal Separation - 12th International Conference