Update README.md

This commit is contained in:
Anjok07 2020-11-09 21:56:35 -06:00 committed by GitHub
parent f0a2dbc3f6
commit a7d1daa4bb

View File

@ -6,7 +6,7 @@
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)
A very special thanks to the main code contributor [DilanBoskan](https://github.com/DilanBoskan)! DilanBoskan, thank you for all of your support in helping bring this project to life!
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!
## Installation
@ -15,53 +15,56 @@ The application was made with Tkinter for cross platform compatibility, so this
### 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)
2. Once Python has installed, open the Windows Command Prompt and run the following installs-
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 -
```
pip install --no-cache-dir -r requirements.txt
pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
```
### Getting & Running the Vocal Remover GUI & Models
### Running the Vocal Remover GUI & Models
1. Download Ultimate Vocal Remover GUI Version 4.1.0 here
2. Place the UVR-V4GUI folder where ever you wish (I put mine in my documents folder) and open the file labeled "VocalRemover.py" (I recommend you create a shortcut for the file labeled "VocalRemover.py" to your desktop)
3. Open the application and proceed to the next section for more information
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.
## Option Guide
### Choose AI Engine:
- This option allows you to toggle between tsurumeso's v2 & v4 AI engines.
- Please note - The TTA option and the ability to set the N_FFT value is not possible in the v2 AI engine as those are v4 options.
- **Please note** - The TTA option and the ability to set the N_FFT value are strictly **v4*** options.
### Model Selections:
- Choose Main Model - Here is where you choose the main model to convert your tracks with.
- Choose Stacked Model - These models are only meant to process converted tracks. 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.
- Keep in mind the dropdown options change between upon choosing a new AI engine!
- **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.
### Parameter Values:
All models released by me will have the values it was trained on 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 in the application, so please do not change the model files names. If there are no value appended to the end of the model, the defaults are set and the value field will be editable. The default values are -
All models released by me 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 -
- SR - 44100
- HOP LENGTH - 1024
- WINDOW SIZE - 512
- N_FFT - 2048
- **SR** - 44100
- **HOP LENGTH** - 1024
- **WINDOW SIZE** - 512
- **N_FFT** - 2048
### Checkboxes:
- 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 may improve the separation on some songs. I recommend only using it if conversions don't come  out well
- TTA - This option may improve the separation on some songs. Having this selected will run a track twice. Please note, this option is NOT compatible with the v2 AI engine.
- Output Image - This option will include a spectrogram of the resulting instrumental & vocal tracks.
- 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 run a pair through the stacked model only.
- 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 automatically generate a new folder with the name of the selected model in the "Save to" path you have chosen. The completed files will have the selected model name appended to it and be saved to the auto-generated folder.
- **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.
- **Save All Stacked Outputs** - Having this selected during stacked conversions 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.
- **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.
### Other Buttons:
- 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.
- **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.
- 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.
## Models Included:
@ -70,23 +73,25 @@ Here's a list of the models (PLEASE DO NOT CHANGE THE NAME OF THE FIRST 2 MODELS
- (Pending)
A special thank you to aufr33 for helping expand the dataset and dilligent advice!
## Troubleshooting:
- If the VocalRemover.py file won't open under any circumstances and you have exhausted all other resources, please do the following -
- If the VocalRemover.py file won't open *under any circumstances* and you have exhausted all other resources, please do the following -
1. Open the cmd prompt from the UVR-V4GUI directory
2. Run the following command -
```
python VocalRemover.py
```
3. Copy and paste the error in the cmd prompt to the issues center here on my GitHub.
3. Copy and paste the error in the cmd prompt to the issues center on the GitHub repository.
## Other GUI Notes:
- The application will automatically remember your "save to" path upon closing and reopening until you change it
- The application will automatically remember your *'save to'* path upon closing and reopening until you change it
- You can select as many files as you like. Multiple conversions are supported!
- The Stacked Model is meant to clean up vocal residue left over in the form of vocal pinches and static. They are only meant for instrumentals created via converted tracks previously run through one of the main models!
- The "Stack Passes" option should only be used with the Stacked Model. This option allows you to set the amount of times you want a track to run through a model. The amount of times you need to run it through will vary greatly by track. Most tracks won't require any more than 2-5 passes. If you do 5 or more passes on a track you risk quality degradation.
- 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.
- 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