Giter VIP home page Giter VIP logo

demucs-gui's Introduction

Icon Demucs GUI

GitHub release (latest by date including pre-releases) All downloads GitHub platform platform

This is a GUI for music separation project demucs.

The project aims to let users without any coding experience separate tracks without difficulty. If you have any question about usage or the project, please open an issue to tell us. Since the original project Demucs used scientific library torch, the packed binaries with environment is very large, and we will only pack binaries for formal releases.

Donate to me

Currently I'm training some new great models (like 10-stem model) for this project. However as a student I don't have enough money to rent powerful GPUs. With your help, I can train the new models up to 100x faster. I promise I will use the money only for training models and will release the models to the public for free as long as I can raise $150.

If you like this project, please consider donating to me.

Donate paypal.me/CarlGao4

Donate AliPay QR Code

Note for macOS users

If the application cannot be launched due to the Mac's security protection feature, try the following:

  1. Right-click on the Demucs-GUI app icon and select "Open".
  2. Click "Open" again in the window that appears as follows. Open Anyway

System requirements

Installing binaries

System version

For Windows: At least Windows 8

For Mac: At least macOS 10.15

For Linux: Any system that can install and run python 3.11 (Because I'll pack the binaries using python 3.11)

Hardware

Memory: About at least 8GB of total memory (physical and swap) would be required. The longer the track you want to separate, the more memory will be required.

GPU: Only NVIDIA GPUs (whose compute capability should be at least 3.5), Intel Arc & Iris Xe Graphics and Apple MPS are supported. At least 2GB of private memory is required.

Running the codes yourself

At least Python 3.10 is required. Other requirements please refer to Installing binaries.

Downloads

Binaries for download are available here.

Update History

Please refer to history.md.

Usage

If you are using released binaries, please refer to usage.md

This part is written for those who want to run the codes themselves

FFmpeg support

FFmpeg is a supported audio reader of Demucs-GUI. Demucs-GUI will try to use FFmpeg as long as it is found in the PATH environment variable. Both FFmpeg and FFprobe are required. You can install it from source, use system package manager, download prebuilt binaries or use conda (recommended).

CPU only on Windows or Apple MPS or CUDA on Linux

  1. Install Python and git. It's recommended to use a virtual environment like conda.
  2. Clone this repository and switch to this branch. You should run git submodule update --init --recursive since 1.1a2 version.
  3. Use pip to install all packages in requirements.txt.

note: on Linux, PyTorch with CUDA is the default.

# For pip
pip install -r requirements_cuda.txt
# Conda is not available as this project has dependencies only on PyPI
  1. Run GuiMain.py and separate your song!

CUDA acceleration (Windows only)

  1. Install Python and git. It's recommended to use a virtual environment like conda.
  2. Clone this repository and switch to this branch. You should run git submodule update --init --recursive since 1.1a2 version.
  3. Skip this step if you don't need to switch the default version of PyTorch. Install torch with cuda under intructions on pyTorch official website. There is no requirement of cuda version, but the version of torch should be 2.0.x (2.1.0 and higher will cause errors sometimes)
  4. Use pip to install all packages in requirements_cuda.txt.
# For pip
pip install -r requirements_cuda.txt
# Conda is not available as this project has dependencies only on PyPI
  1. Run GuiMain.py and separate your song! If your GPU is not listed in the selector device, Please use CPU instead or open an issue to tell us if you think this is a problem.

Accelerate with AMD GPU (Linux only)

  1. Install Python and git. It's recommended to use a virtual environment like conda.
  2. Clone this repository and switch to this branch. You should run git submodule update --init --recursive since 1.1a2 version.
  3. Skip this step if you don't need to switch the default version of PyTorch. Install torch with cuda under intructions on pyTorch official website. There is no requirement of cuda version, but the version of torch should be 2.0.x (2.1.0 and higher will cause errors sometimes)
  4. Use pip to install all packages in requirements_rocm.txt.
# For pip
pip install -r requirements_rocm.txt
# Conda is not available as this project has dependencies only on PyPI
  1. Run GuiMain.py and separate your song! If your GPU is not listed in the selector device, Please use CPU instead or open an issue to tell us if you think this is a problem.

Accelerate with Intel GPU

Make sure that you have discrete Intel graphics card or an Intel CPU that is 11th generation or newer with integrated graphics card (Because we need its driver)

  1. Install latest Intel graphics driver (Windows link). This accelerator requires Intel® Arc™ & Iris® Xe Graphics driver (which means, Intel® Arc™ A-Series Graphics, Intel® Iris® Xe Graphics, and Intel® Core™ Ultra Processors with Intel® Arc™ Graphics). Though I would discourage you to use this "accelerator" with integrated graphics card as it may even slower than pure CPU sometimes.
  2. Install Python and git. It's recommended to use a virtual environment like conda.
  3. Clone this repository and switch to this branch. You should run git submodule update --init --recursive since 1.1a2 version.
  4. Use pip to install all packages in requirements_intel_gpu_mkl.txt.
# For pip
pip install -r requirements_intel_gpu_mkl.txt
# Conda is not available as this project has dependencies only on PyPI
  1. Run GuiMain.py and separate your song! If your GPU is not listed in the selector device, Please use CPU instead or open an issue to tell us if you think this is a problem.
  2. If it could not start up and sometimes raises an error like OSError: [WinError 126] Error loading "***\torch\lib\backend_with_compiler.dll" or one of its dependencies, you may have to manually download libuv and put it in the folder torch\lib under your python site packages installation path. One easier way to solve this if you are using conda environment is to run conda install conda-forge::libuv.

Acknowledgements

This project includes code of Demucs under MIT license.

demucs-gui's People

Contributors

apr3vau avatar carlgao4 avatar halloweddust5 avatar hanton2222 avatar kyab avatar matthew-a-dunlap avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

demucs-gui's Issues

Just a minor suggestion

Hi, thanks for making demucs in a gui form. I think it will be nice if it's documented in the gui or readme on what the split and overlap values mean.

Not opening?

Dunno what else I should do, I installed the cuda requirements and added the pretrained folder to the GUI folder. If I run GuiMain - nothing happens, the CMD box flashes for a quick second and that's it

Optimization suggestions

New feature required

Great work so far!
With the following simple optimization, the inference speed of demucs-gui can be improved significantly, and save storage space as well.

  • #31
  • #25
  • #53 Save as mp3 (we can do that with ffmpeg anyway, however doing it from source may use less IO operations).

ETA indicator broken

happen

The ETA indicator usually starts at 23 hours and never progresses much even when the separation takes only a few minutes.

What is the platform you are using?

macOS

log

2024-05-21 18:23:42,161 (GuiMain.py) (Line 2049) [INFO] : Python version: 3.11.9 (main, Apr 19 2024, 11:49:16) [Clang 14.0.6 ]
2024-05-21 18:23:42,162 (GuiMain.py) (Line 2050) [INFO] : Demucs GUI version: 1.2
2024-05-21 18:23:42,177 (GuiMain.py) (Line 2051) [INFO] : System: macOS-14.1.1-arm64-arm-64bit
2024-05-21 18:23:42,181 (GuiMain.py) (Line 2052) [INFO] : Architecture: 64bit
2024-05-21 18:23:42,181 (GuiMain.py) (Line 2053) [INFO] : CPU: arm
2024-05-21 18:23:42,182 (GuiMain.py) (Line 2054) [INFO] : CPU count: 8
2024-05-21 18:23:42,182 (GuiMain.py) (Line 2055) [INFO] : System memory: 8589934592 (8GB)
2024-05-21 18:23:42,182 (GuiMain.py) (Line 2058) [INFO] : System free memory: 60260352 (57.469MB)
2024-05-21 18:23:42,182 (GuiMain.py) (Line 2062) [INFO] : System swap memory: 2147483648 (2GB)
2024-05-21 18:23:42,183 (GuiMain.py) (Line 2080) [INFO] : Using PySide6
2024-05-21 18:23:42,183 (GuiMain.py) (Line 2081) [INFO] : Qt version: 6.7.0
2024-05-21 18:23:42,183 (GuiMain.py) (Line 2082) [INFO] : PySide6 version: 6.7.0
2024-05-21 18:23:42,342 (shared.py) (Line 360) [INFO] : [1] Thread starter (separator.py) starts
2024-05-21 18:23:42,368 (GuiMain.py) (Line 2087) [DEBUG] : Supported styles: macOS, Windows, Fusion
2024-05-21 18:23:42,369 (GuiMain.py) (Line 2093) [DEBUG] : Current style: macos
2024-05-21 18:23:43,586 (separator.py) (Line 66) [INFO] : Intel Extension for PyTorch is not installed
2024-05-21 18:23:43,601 (__init__.py) (Line 68) [DEBUG] : Failed to initialize sox extension
Traceback (most recent call last):
  File "PyInstaller/loader/pyimod03_ctypes.py", line 53, in __init__
  File "ctypes/__init__.py", line 376, in __init__
OSError: dlopen(/Applications/Demucs-GUI.app/Contents/Frameworks/torchaudio/lib/libtorchaudio_sox.so, 0x0006): Library not loaded: @rpath/libsox.dylib
  Referenced from: <20E00ABB-13B8-31A1-A605-453D3F4E7C79> /Applications/Demucs-GUI.app/Contents/Frameworks/torchaudio/lib/libtorchaudio_sox.so
  Reason: tried: '/Applications/Demucs-GUI.app/Contents/Frameworks/torchaudio/lib/../../libsox.dylib' (no such file), '/Applications/Demucs-GUI.app/Contents/Frameworks/torchaudio/lib/../../libsox.dylib' (no such file), '/Applications/Demucs-GUI.app/Contents/Frameworks/lib-dynload/../libsox.dylib' (no such file), '/usr/local/lib/libsox.dylib' (no such file), '/usr/lib/libsox.dylib' (no such file, not in dyld cache)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "torchaudio/_extension/__init__.py", line 60, in <module>
    _init_sox()
  File "torchaudio/_extension/utils.py", line 70, in _init_sox
    _load_lib("libtorchaudio_sox")
  File "torchaudio/_extension/utils.py", line 64, in _load_lib
    torch.ops.load_library(path)
  File "torch/_ops.py", line 852, in load_library
    ctypes.CDLL(path)
  File "PyInstaller/loader/pyimod03_ctypes.py", line 55, in __init__
pyimod03_ctypes.install.<locals>.PyInstallerImportError: Failed to load dynlib/dll '/Applications/Demucs-GUI.app/Contents/Frameworks/torchaudio/lib/libtorchaudio_sox.so'. Most likely this dynlib/dll was not found when the application was frozen.
2024-05-21 18:23:43,602 (utils.py) (Line 93) [DEBUG] : Attempting to load FFmpeg version 6.
2024-05-21 18:23:43,621 (utils.py) (Line 130) [DEBUG] : Failed to load FFmpeg 6 extension.
Traceback (most recent call last):
  File "torchaudio/_extension/utils.py", line 128, in _find_ffmpeg_extension
    return _find_versionsed_ffmpeg_extension(ffmpeg_ver)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "torchaudio/_extension/utils.py", line 113, in _find_versionsed_ffmpeg_extension
    _try_access_avutil(ffmpeg_ver)
  File "torchaudio/_extension/utils.py", line 89, in _try_access_avutil
    torchaudio.lib._torchaudio.find_avutil(libavutil)
RuntimeError: Error in dlopen: dlopen(libavutil.58.dylib, 0x0006): tried: 'libavutil.58.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibavutil.58.dylib' (no such file), '/Applications/Demucs-GUI.app/Contents/Frameworks/torch/lib/../../libavutil.58.dylib' (no such file), '/usr/lib/libavutil.58.dylib' (no such file, not in dyld cache), 'libavutil.58.dylib' (no such file), '/usr/local/lib/libavutil.58.dylib' (no such file), '/usr/lib/libavutil.58.dylib' (no such file, not in dyld cache)
2024-05-21 18:23:43,622 (utils.py) (Line 93) [DEBUG] : Attempting to load FFmpeg version 5.
2024-05-21 18:23:43,624 (utils.py) (Line 130) [DEBUG] : Failed to load FFmpeg 5 extension.
Traceback (most recent call last):
  File "torchaudio/_extension/utils.py", line 128, in _find_ffmpeg_extension
    return _find_versionsed_ffmpeg_extension(ffmpeg_ver)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "torchaudio/_extension/utils.py", line 113, in _find_versionsed_ffmpeg_extension
    _try_access_avutil(ffmpeg_ver)
  File "torchaudio/_extension/utils.py", line 89, in _try_access_avutil
    torchaudio.lib._torchaudio.find_avutil(libavutil)
RuntimeError: Error in dlopen: dlopen(libavutil.57.dylib, 0x0006): tried: 'libavutil.57.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibavutil.57.dylib' (no such file), '/Applications/Demucs-GUI.app/Contents/Frameworks/torch/lib/../../libavutil.57.dylib' (no such file), '/usr/lib/libavutil.57.dylib' (no such file, not in dyld cache), 'libavutil.57.dylib' (no such file), '/usr/local/lib/libavutil.57.dylib' (no such file), '/usr/lib/libavutil.57.dylib' (no such file, not in dyld cache)
2024-05-21 18:23:43,624 (utils.py) (Line 93) [DEBUG] : Attempting to load FFmpeg version 4.
2024-05-21 18:23:43,626 (utils.py) (Line 130) [DEBUG] : Failed to load FFmpeg 4 extension.
Traceback (most recent call last):
  File "torchaudio/_extension/utils.py", line 128, in _find_ffmpeg_extension
    return _find_versionsed_ffmpeg_extension(ffmpeg_ver)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "torchaudio/_extension/utils.py", line 113, in _find_versionsed_ffmpeg_extension
    _try_access_avutil(ffmpeg_ver)
  File "torchaudio/_extension/utils.py", line 89, in _try_access_avutil
    torchaudio.lib._torchaudio.find_avutil(libavutil)
RuntimeError: Error in dlopen: dlopen(libavutil.56.dylib, 0x0006): tried: 'libavutil.56.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibavutil.56.dylib' (no such file), '/Applications/Demucs-GUI.app/Contents/Frameworks/torch/lib/../../libavutil.56.dylib' (no such file), '/usr/lib/libavutil.56.dylib' (no such file, not in dyld cache), 'libavutil.56.dylib' (no such file), '/usr/local/lib/libavutil.56.dylib' (no such file), '/usr/lib/libavutil.56.dylib' (no such file, not in dyld cache)
2024-05-21 18:23:43,626 (__init__.py) (Line 96) [DEBUG] : Failed to initialize ffmpeg bindings
Traceback (most recent call last):
  File "torchaudio/_extension/__init__.py", line 89, in <module>
    _FFMPEG_EXT = _init_ffmpeg()
                  ^^^^^^^^^^^^^^
  File "torchaudio/_extension/utils.py", line 162, in _init_ffmpeg
    ext = _find_ffmpeg_extension(ffmpeg_vers, show_error)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "torchaudio/_extension/utils.py", line 132, in _find_ffmpeg_extension
    raise ImportError(f"Failed to intialize FFmpeg extension. Tried versions: {ffmpeg_vers}")
ImportError: Failed to intialize FFmpeg extension. Tried versions: ['6', '5', '4']
PyInstaller/loader/pyimod02_importers.py:419: UserWarning: TorchAudio's global backend is now deprecated. Please enable distpatcher by setting `TORCHAUDIO_USE_BACKEND_DISPATCHER=1`, and specify backend when calling load/info/save function.
2024-05-21 18:23:43,745 (audio.py) (Line 34) [INFO] : Soundfile version: 0.12.1
2024-05-21 18:23:43,746 (audio.py) (Line 35) [INFO] : libsndfile version: 1.2.0
2024-05-21 18:23:43,746 (audio.py) (Line 36) [INFO] : SoXR version: 0.3.7
2024-05-21 18:23:43,746 (audio.py) (Line 37) [INFO] : libsoxr version: 0.1.3-7-gacc0dac
2024-05-21 18:23:43,747 (separator.py) (Line 88) [INFO] : Demucs version: 4.1.0a3
2024-05-21 18:23:43,747 (separator.py) (Line 89) [INFO] : PyTorch version: 2.1.2
2024-05-21 18:23:44,887 (audio.py) (Line 49) [INFO] : ffmpeg -version output:
ffmpeg version n6.0-tessus Copyright (c) 2000-2023 the FFmpeg developers
built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --extra-cflags=-I/opt/homebrew/include --extra-ldflags=-L/opt/homebrew/lib --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-libcaca --enable-version3 --disable-ffplay --enable-ffmpeg --enable-ffprobe
libavutil      58.  2.100 / 58.  2.100
libavcodec     60.  3.100 / 60.  3.100
libavformat    60.  3.100 / 60.  3.100
libavdevice    60.  1.100 / 60.  1.100
libavfilter     9.  3.100 /  9.  3.100
libswscale      7.  1.100 /  7.  1.100
libswresample   4. 10.100 /  4. 10.100
libpostproc    57.  1.100 / 57.  1.100

2024-05-21 18:23:44,910 (audio.py) (Line 54) [INFO] : Using ffmpeg from /Applications/Demucs-GUI.app/Contents/Frameworks/ffmpeg/ffmpeg
2024-05-21 18:23:44,911 (audio.py) (Line 55) [INFO] : ffprobe -version output:
ffprobe version n6.0-tessus Copyright (c) 2007-2023 the FFmpeg developers
built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --extra-cflags=-I/opt/homebrew/include --extra-ldflags=-L/opt/homebrew/lib --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-libcaca --enable-version3 --disable-ffplay --enable-ffmpeg --enable-ffprobe
libavutil      58.  2.100 / 58.  2.100
libavcodec     60.  3.100 / 60.  3.100
libavformat    60.  3.100 / 60.  3.100
libavdevice    60.  1.100 / 60.  1.100
libavfilter     9.  3.100 /  9.  3.100
libswscale      7.  1.100 /  7.  1.100
libswresample   4. 10.100 /  4. 10.100
libpostproc    57.  1.100 / 57.  1.100

2024-05-21 18:23:45,917 (shared.py) (Line 371) [INFO] : [1] Thread starter (separator.py) ends
2024-05-21 18:23:45,960 (shared.py) (Line 360) [INFO] : [2] Thread checkUpdate (shared.py) starts
2024-05-21 18:23:45,968 (shared.py) (Line 387) [INFO] : Checking for updates...
2024-05-21 18:23:46,778 (shared.py) (Line 390) [INFO] : Latest version: 1.2
2024-05-21 18:23:46,779 (shared.py) (Line 371) [INFO] : [2] Thread checkUpdate (shared.py) ends
2024-05-21 18:23:50,121 (shared.py) (Line 360) [INFO] : [3] Thread loadModel (GuiMain.py) starts
2024-05-21 18:23:50,134 (GuiMain.py) (Line 657) [INFO] : Loading model htdemucs_6s from repo "remote"
2024-05-21 18:23:50,419 (GuiMain.py) (Line 685) [INFO] : Model loaded within 0.2817s
2024-05-21 18:23:50,419 (GuiMain.py) (Line 686) [INFO] : Model: htdemucs_6s
Repo: "remote"
Type: Bag of models
Audio channels: 2
Sample rate: 44100
Sources: drums, bass, other, vocals, guitar, piano

Model 0:
 Type: HTDemucs
 Default segment: 7.8
 Weight: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
2024-05-21 18:23:50,420 (shared.py) (Line 371) [INFO] : [3] Thread loadModel (GuiMain.py) ends
2024-05-21 18:23:50,423 (separator.py) (Line 132) [INFO] : MPS backend is available
2024-05-21 18:23:50,434 (shared.py) (Line 274) [DEBUG] : (switchEncoder) Set history ('encoder',) to 0
2024-05-21 18:23:50,434 (shared.py) (Line 276) [DEBUG] : History not changed, ignored
2024-05-21 18:23:50,436 (GuiMain.py) (Line 1512) [INFO] : Preset stem key: ["bass","drums","guitar","other","piano","vocals"]
2024-05-21 18:23:50,436 (GuiMain.py) (Line 1667) [INFO] : Adding saved presets: []
2024-05-21 18:24:47,451 (shared.py) (Line 274) [DEBUG] : (<lambda>) Set history ('separate_once_added',) to 2
2024-05-21 18:24:48,352 (shared.py) (Line 274) [DEBUG] : (<lambda>) Set history ('separate_once_added',) to 0
2024-05-21 18:24:52,151 (shared.py) (Line 274) [DEBUG] : (<lambda>) Set history ('sample_fmt',) to float32
2024-05-21 18:26:09,006 (shared.py) (Line 360) [INFO] : [4] Thread separate (separator.py) starts
2024-05-21 18:26:09,008 (separator.py) (Line 460) [INFO] : Start separating audio: Africa.Ls.wav
2024-05-21 18:26:09,008 (separator.py) (Line 461) [INFO] : Parameters: segment=7.80 overlap=0.45 shifts=20
2024-05-21 18:26:09,008 (separator.py) (Line 462) [INFO] : Device: mps
2024-05-21 18:26:09,010 (audio.py) (Line 66) [DEBUG] : Reading audio with soundfile: /Users/name/Library/Mobile Documents/com~apple~CloudDocs/untitled folder icloud/Toto_IV.2003.DTS.5.1..flac/Africa (5.1 Decompiled Stems)/Africa.Ls.wav
2024-05-21 18:26:09,067 (audio.py) (Line 82) [INFO] : Read audio /Users/name/Library/Mobile Documents/com~apple~CloudDocs/untitled folder icloud/Toto_IV.2003.DTS.5.1..flac/Africa (5.1 Decompiled Stems)/Africa.Ls.wav: samplerate=88200 shape=(26235040, 1)
2024-05-21 18:26:09,068 (audio.py) (Line 85) [INFO] : Samplerate 88200 doesn't match target 44100, resampling with SoXR
2024-05-21 18:26:09,273 (separator.py) (Line 498) [INFO] : Running separation...
2024-05-21 18:56:19,129 (separator.py) (Line 525) [INFO] : Saving separated audio...
2024-05-21 18:56:19,184 (shared.py) (Line 360) [INFO] : [5] Thread save (GuiMain.py) starts
2024-05-21 18:56:19,246 (shared.py) (Line 371) [INFO] : [4] Thread separate (separator.py) ends
2024-05-21 18:56:19,309 (shared.py) (Line 274) [DEBUG] : (save) Set history ('save_location',) to OrderedSet(['separated/{model}/{track}/{stem}.{ext}', 'separated/{model}/{track}/{stem}', '/separated/{model}/{track}/{stem}.{ext}', '/Users/name/Desktop/Stems'])
2024-05-21 18:56:19,343 (GuiMain.py) (Line 1812) [INFO] : Mixing stem drums
2024-05-21 18:56:20,413 (audio.py) (Line 129) [INFO] : Saved audio /Users/name/Library/Mobile Documents/com~apple~CloudDocs/untitled folder icloud/Toto_IV.2003.DTS.5.1..flac/Africa (5.1 Decompiled Stems)/separated/htdemucs_6s/Africa.Ls/drums.wav: shape=torch.Size([1, 13117520])
2024-05-21 18:56:20,420 (GuiMain.py) (Line 1812) [INFO] : Mixing stem bass
2024-05-21 18:56:20,907 (audio.py) (Line 129) [INFO] : Saved audio /Users/name/Library/Mobile Documents/com~apple~CloudDocs/untitled folder icloud/Toto_IV.2003.DTS.5.1..flac/Africa (5.1 Decompiled Stems)/separated/htdemucs_6s/Africa.Ls/bass.wav: shape=torch.Size([1, 13117520])
2024-05-21 18:56:20,908 (GuiMain.py) (Line 1812) [INFO] : Mixing stem other
2024-05-21 18:56:21,541 (audio.py) (Line 129) [INFO] : Saved audio /Users/name/Library/Mobile Documents/com~apple~CloudDocs/untitled folder icloud/Toto_IV.2003.DTS.5.1..flac/Africa (5.1 Decompiled Stems)/separated/htdemucs_6s/Africa.Ls/other.wav: shape=torch.Size([1, 13117520])
2024-05-21 18:56:21,543 (GuiMain.py) (Line 1812) [INFO] : Mixing stem vocals
2024-05-21 18:56:22,127 (audio.py) (Line 129) [INFO] : Saved audio /Users/name/Library/Mobile Documents/com~apple~CloudDocs/untitled folder icloud/Toto_IV.2003.DTS.5.1..flac/Africa (5.1 Decompiled Stems)/separated/htdemucs_6s/Africa.Ls/vocals.wav: shape=torch.Size([1, 13117520])
2024-05-21 18:56:22,130 (GuiMain.py) (Line 1812) [INFO] : Mixing stem guitar
2024-05-21 18:56:23,112 (audio.py) (Line 129) [INFO] : Saved audio /Users/name/Library/Mobile Documents/com~apple~CloudDocs/untitled folder icloud/Toto_IV.2003.DTS.5.1..flac/Africa (5.1 Decompiled Stems)/separated/htdemucs_6s/Africa.Ls/guitar.wav: shape=torch.Size([1, 13117520])
2024-05-21 18:56:23,148 (GuiMain.py) (Line 1812) [INFO] : Mixing stem piano
2024-05-21 18:56:23,685 (audio.py) (Line 129) [INFO] : Saved audio /Users/name/Library/Mobile Documents/com~apple~CloudDocs/untitled folder icloud/Toto_IV.2003.DTS.5.1..flac/Africa (5.1 Decompiled Stems)/separated/htdemucs_6s/Africa.Ls/piano.wav: shape=torch.Size([1, 13117520])
2024-05-21 18:56:23,716 (shared.py) (Line 371) [INFO] : [5] Thread save (GuiMain.py) ends

Release executable file triggering multiple AV systems on my box.

Question

Ask your question here.
mbam_cE0wzn3lkn

Malwarebytes
www.malwarebytes.com
kMU0UXARW1

-Log Details-
Scan Date: 9/20/22
Scan Time: 4:21 AM
Log File: 6c749324-38d6-11ed-b85b-001986001e8b.json

-Software Information-
Version: 4.5.14.210
Components Version: 1.0.1751
Update Package Version: 1.0.60039
License: Trial

-System Information-
OS: Windows 10 (Build 19044.2006)
CPU: x64
File System: NTFS
User: ech0-V\ech0-V

-Scan Summary-
Scan Type: Custom Scan
Scan Initiated By: Manual
Result: Completed
Objects Scanned: 1
Threats Detected: 1
Threats Quarantined: 0
Time Elapsed: 1 min, 11 sec

-Scan Options-
Memory: Disabled
Startup: Disabled
Filesystem: Enabled
Archives: Enabled
Rootkits: Disabled
Heuristics: Enabled
PUP: Detect
PUM: Detect

-Scan Details-
Process: 0
(No malicious items detected)

Module: 0
(No malicious items detected)

Registry Key: 0
(No malicious items detected)

Registry Value: 0
(No malicious items detected)

Registry Data: 0
(No malicious items detected)

Data Stream: 0
(No malicious items detected)

Folder: 0
(No malicious items detected)

File: 1
Malware.AI.3593720382, C:\PORTABLEAPPS\DEMUCS-GUI_0.1_CUDA_RELEASE_WIN_X64\DEMUCS-GUI.EXE, No Action By User, 1000000, -701246914, 1.0.60039, 6E2C3D6BE268D157D633D23E, dds, 01947385, 9517FDA161C9D507FFF161988D1EC278, 4635483BABA1E8168F6FCAF1FC42BEC3AFAE1F2F1EDBADFBA1B73A71D96E70BC

Physical Sector: 0
(No malicious items detected)

WMI: 0
(No malicious items detected)

(end)

MP3 output is missing in the File format dropdown

Demucs is capable of generating MP3 output, but in this GUI version, it is not available as an option in the File Format dropdown menu (only FLAC and WAV are available). Please add MP3 as an additional dropdown option.

Usability suggestion

I find that I prefer to use the 0.1 version to the 1.0 version because that one fits my my requirements perfectly.
Therefore, I would suggest the posibility of a "simplified UI" that you can opt in as starting view of the tool.

If this is not possible or no one ones to work on it, it can be replaced by a few settings + recording the last used options:
Some settings I would use:

  • Start separation as soon as you select a file. (Maybe a "load and start" button would work.
  • Remember output encoder settings (I use wav but I have to chage it from flac every time).

Lastly, thank you for making this. I was using the CLI before and I found an improvement using this interface.

Bug: Unable to Install htdemucs_6s model

happen

Tried installing the htdemucs_6s model from the menu, but it says "Failed to load model. Check log for more information" Log tells me a python error SSL CERTIFICATE_VERIFY_FAILED has occured.

What is the platform you are using?

macOS

log

2024-01-20 18:05:59,985 (GuiMain.py) (Line 1412) [INFO] : Python version: 3.11.5 (main, Sep 11 2023, 08:35:00) [Clang 14.0.6 ]
2024-01-20 18:05:59,985 (GuiMain.py) (Line 1413) [INFO] : Demucs GUI version: 1.1a2
2024-01-20 18:05:59,998 (GuiMain.py) (Line 1414) [INFO] : System: macOS-14.2-arm64-arm-64bit
2024-01-20 18:06:00,002 (GuiMain.py) (Line 1415) [INFO] : Architecture: 64bit
2024-01-20 18:06:00,004 (GuiMain.py) (Line 1416) [INFO] : CPU: arm
2024-01-20 18:06:00,005 (GuiMain.py) (Line 1417) [INFO] : CPU count: 10
2024-01-20 18:06:00,005 (GuiMain.py) (Line 1418) [INFO] : System memory: 17179869184 (16GB)
2024-01-20 18:06:00,005 (GuiMain.py) (Line 1421) [INFO] : System free memory: 547291136 (521.938MB)
2024-01-20 18:06:00,005 (GuiMain.py) (Line 1424) [INFO] : System swap memory: 2147483648 (2GB)
2024-01-20 18:06:00,006 (GuiMain.py) (Line 1435) [INFO] : Using PySide6
2024-01-20 18:06:00,006 (GuiMain.py) (Line 1436) [INFO] : Qt version: 6.6.1
2024-01-20 18:06:00,006 (GuiMain.py) (Line 1437) [INFO] : PySide6 version: 6.6.1
2024-01-20 18:06:00,118 (shared.py) (Line 243) [INFO] : [1] Thread starter (separator.py) starts
2024-01-20 18:06:00,132 (GuiMain.py) (Line 1442) [DEBUG] : Supported styles: macOS, Windows, Fusion
2024-01-20 18:06:00,133 (GuiMain.py) (Line 1446) [DEBUG] : Current style: macos
2024-01-20 18:06:00,911 (separator.py) (Line 54) [INFO] : Intel Extension for PyTorch is not installed
2024-01-20 18:06:01,001 (audio.py) (Line 34) [INFO] : Soundfile version: 0.12.1
2024-01-20 18:06:01,002 (audio.py) (Line 35) [INFO] : libsndfile version: 1.2.0
2024-01-20 18:06:01,002 (audio.py) (Line 36) [INFO] : SoXR version: 0.3.7
2024-01-20 18:06:01,003 (audio.py) (Line 37) [INFO] : libsoxr version: 0.1.3-7-gacc0dac
2024-01-20 18:06:01,003 (separator.py) (Line 62) [INFO] : Demucs version: 4.1.0a2
2024-01-20 18:06:01,004 (separator.py) (Line 63) [INFO] : PyTorch version: 2.0.1
2024-01-20 18:06:02,092 (audio.py) (Line 49) [INFO] : ffmpeg -version output:
ffmpeg version n6.0-tessus Copyright (c) 2000-2023 the FFmpeg developers
built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --extra-cflags=-I/opt/homebrew/include --extra-ldflags=-L/opt/homebrew/lib --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-libcaca --enable-version3 --disable-ffplay --enable-ffmpeg --enable-ffprobe
libavutil      58.  2.100 / 58.  2.100
libavcodec     60.  3.100 / 60.  3.100
libavformat    60.  3.100 / 60.  3.100
libavdevice    60.  1.100 / 60.  1.100
libavfilter     9.  3.100 /  9.  3.100
libswscale      7.  1.100 /  7.  1.100
libswresample   4. 10.100 /  4. 10.100
libpostproc    57.  1.100 / 57.  1.100

2024-01-20 18:06:02,120 (audio.py) (Line 54) [INFO] : Using ffmpeg from /Applications/Demucs-GUI.app/Contents/Frameworks/ffmpeg/ffmpeg
2024-01-20 18:06:02,120 (audio.py) (Line 55) [INFO] : ffprobe -version output:
ffprobe version n6.0-tessus Copyright (c) 2007-2023 the FFmpeg developers
built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --extra-cflags=-I/opt/homebrew/include --extra-ldflags=-L/opt/homebrew/lib --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-libcaca --enable-version3 --disable-ffplay --enable-ffmpeg --enable-ffprobe
libavutil      58.  2.100 / 58.  2.100
libavcodec     60.  3.100 / 60.  3.100
libavformat    60.  3.100 / 60.  3.100
libavdevice    60.  1.100 / 60.  1.100
libavfilter     9.  3.100 /  9.  3.100
libswscale      7.  1.100 /  7.  1.100
libswresample   4. 10.100 /  4. 10.100
libpostproc    57.  1.100 / 57.  1.100

2024-01-20 18:06:03,126 (shared.py) (Line 254) [INFO] : [1] Thread starter (separator.py) ends
2024-01-20 18:06:03,148 (shared.py) (Line 243) [INFO] : [2] Thread checkUpdate (shared.py) starts
2024-01-20 18:06:03,157 (shared.py) (Line 270) [INFO] : Checking for updates...
2024-01-20 18:06:04,390 (shared.py) (Line 276) [WARNING] : Failed to check for updates:
Traceback (most recent call last):
  File "urllib/request.py", line 1348, in do_open
  File "http/client.py", line 1286, in request
  File "http/client.py", line 1332, in _send_request
  File "http/client.py", line 1281, in endheaders
  File "http/client.py", line 1041, in _send_output
  File "http/client.py", line 979, in send
  File "http/client.py", line 1458, in connect
  File "ssl.py", line 517, in wrap_socket
  File "ssl.py", line 1108, in _create
  File "ssl.py", line 1379, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "shared.py", line 271, in checkUpdate
  File "urllib/request.py", line 216, in urlopen
  File "urllib/request.py", line 519, in open
  File "urllib/request.py", line 536, in _open
  File "urllib/request.py", line 496, in _call_chain
  File "urllib/request.py", line 1391, in https_open
  File "urllib/request.py", line 1351, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)>

2024-01-20 18:06:04,405 (shared.py) (Line 254) [INFO] : [2] Thread checkUpdate (shared.py) ends
2024-01-20 18:06:08,226 (shared.py) (Line 243) [INFO] : [3] Thread loadModel (GuiMain.py) starts
2024-01-20 18:06:08,238 (GuiMain.py) (Line 505) [INFO] : Loading model htdemucs_6s from repo "remote"
2024-01-20 18:06:08,239 (separator.py) (Line 259) [INFO] : Downloading model 5c90dfd2 from https://dl.fbaipublicfiles.com/demucs/hybrid_transformer/5c90dfd2-34c22ccb.th
2024-01-20 18:06:08,533 (GuiMain.py) (Line 293) [ERROR] : Failed to load model htdemucs_6s from remote repo:
Traceback (most recent call last):
  File "urllib/request.py", line 1348, in do_open
  File "http/client.py", line 1286, in request
  File "http/client.py", line 1332, in _send_request
  File "http/client.py", line 1281, in endheaders
  File "http/client.py", line 1041, in _send_output
  File "http/client.py", line 979, in send
  File "http/client.py", line 1458, in connect
  File "ssl.py", line 517, in wrap_socket
  File "ssl.py", line 1108, in _create
  File "ssl.py", line 1379, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "GuiMain.py", line 291, in loadModel
  File "separator.py", line 227, in __init__
  File "separator.py", line 248, in ensureDownloaded
  File "separator.py", line 262, in ensureDownloaded
  File "urllib/request.py", line 216, in urlopen
  File "urllib/request.py", line 519, in open
  File "urllib/request.py", line 536, in _open
  File "urllib/request.py", line 496, in _call_chain
  File "urllib/request.py", line 1391, in https_open
  File "urllib/request.py", line 1351, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)>

2024-01-20 18:06:08,613 (shared.py) (Line 254) [INFO] : [3] Thread loadModel (GuiMain.py) ends
2024-01-20 18:09:08,788 (shared.py) (Line 243) [INFO] : [4] Thread loadModel (GuiMain.py) starts
2024-01-20 18:09:08,797 (GuiMain.py) (Line 505) [INFO] : Loading model htdemucs_6s from repo "remote"
2024-01-20 18:09:08,798 (separator.py) (Line 259) [INFO] : Downloading model 5c90dfd2 from https://dl.fbaipublicfiles.com/demucs/hybrid_transformer/5c90dfd2-34c22ccb.th
2024-01-20 18:09:08,932 (GuiMain.py) (Line 293) [ERROR] : Failed to load model htdemucs_6s from remote repo:
Traceback (most recent call last):
  File "urllib/request.py", line 1348, in do_open
  File "http/client.py", line 1286, in request
  File "http/client.py", line 1332, in _send_request
  File "http/client.py", line 1281, in endheaders
  File "http/client.py", line 1041, in _send_output
  File "http/client.py", line 979, in send
  File "http/client.py", line 1458, in connect
  File "ssl.py", line 517, in wrap_socket
  File "ssl.py", line 1108, in _create
  File "ssl.py", line 1379, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "GuiMain.py", line 291, in loadModel
  File "separator.py", line 227, in __init__
  File "separator.py", line 248, in ensureDownloaded
  File "separator.py", line 262, in ensureDownloaded
  File "urllib/request.py", line 216, in urlopen
  File "urllib/request.py", line 519, in open
  File "urllib/request.py", line 536, in _open
  File "urllib/request.py", line 496, in _call_chain
  File "urllib/request.py", line 1391, in https_open
  File "urllib/request.py", line 1351, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)>

2024-01-20 18:09:09,000 (shared.py) (Line 254) [INFO] : [4] Thread loadModel (GuiMain.py) ends
2024-01-20 18:09:24,654 (shared.py) (Line 243) [INFO] : [5] Thread loadModel (GuiMain.py) starts
2024-01-20 18:09:24,661 (GuiMain.py) (Line 505) [INFO] : Loading model htdemucs_6s from repo "remote"
2024-01-20 18:09:24,661 (separator.py) (Line 259) [INFO] : Downloading model 5c90dfd2 from https://dl.fbaipublicfiles.com/demucs/hybrid_transformer/5c90dfd2-34c22ccb.th
2024-01-20 18:09:24,781 (GuiMain.py) (Line 293) [ERROR] : Failed to load model htdemucs_6s from remote repo:
Traceback (most recent call last):
  File "urllib/request.py", line 1348, in do_open
  File "http/client.py", line 1286, in request
  File "http/client.py", line 1332, in _send_request
  File "http/client.py", line 1281, in endheaders
  File "http/client.py", line 1041, in _send_output
  File "http/client.py", line 979, in send
  File "http/client.py", line 1458, in connect
  File "ssl.py", line 517, in wrap_socket
  File "ssl.py", line 1108, in _create
  File "ssl.py", line 1379, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "GuiMain.py", line 291, in loadModel
  File "separator.py", line 227, in __init__
  File "separator.py", line 248, in ensureDownloaded
  File "separator.py", line 262, in ensureDownloaded
  File "urllib/request.py", line 216, in urlopen
  File "urllib/request.py", line 519, in open
  File "urllib/request.py", line 536, in _open
  File "urllib/request.py", line 496, in _call_chain
  File "urllib/request.py", line 1391, in https_open
  File "urllib/request.py", line 1351, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)>

2024-01-20 18:09:24,845 (shared.py) (Line 254) [INFO] : [5] Thread loadModel (GuiMain.py) ends
2024-01-20 18:09:37,270 (shared.py) (Line 243) [INFO] : [6] Thread loadModel (GuiMain.py) starts
2024-01-20 18:09:37,277 (GuiMain.py) (Line 505) [INFO] : Loading model htdemucs_6s from repo "remote"
2024-01-20 18:09:37,278 (separator.py) (Line 259) [INFO] : Downloading model 5c90dfd2 from https://dl.fbaipublicfiles.com/demucs/hybrid_transformer/5c90dfd2-34c22ccb.th
2024-01-20 18:09:37,307 (GuiMain.py) (Line 293) [ERROR] : Failed to load model htdemucs_6s from remote repo:
Traceback (most recent call last):
  File "urllib/request.py", line 1348, in do_open
  File "http/client.py", line 1286, in request
  File "http/client.py", line 1332, in _send_request
  File "http/client.py", line 1281, in endheaders
  File "http/client.py", line 1041, in _send_output
  File "http/client.py", line 979, in send
  File "http/client.py", line 1458, in connect
  File "ssl.py", line 517, in wrap_socket
  File "ssl.py", line 1108, in _create
  File "ssl.py", line 1379, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "GuiMain.py", line 291, in loadModel
  File "separator.py", line 227, in __init__
  File "separator.py", line 248, in ensureDownloaded
  File "separator.py", line 262, in ensureDownloaded
  File "urllib/request.py", line 216, in urlopen
  File "urllib/request.py", line 519, in open
  File "urllib/request.py", line 536, in _open
  File "urllib/request.py", line 496, in _call_chain
  File "urllib/request.py", line 1391, in https_open
  File "urllib/request.py", line 1351, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)>

2024-01-20 18:09:37,358 (shared.py) (Line 254) [INFO] : [6] Thread loadModel (GuiMain.py) ends
2024-01-20 18:12:04,778 (shared.py) (Line 243) [INFO] : [7] Thread checkUpdate (shared.py) starts
2024-01-20 18:12:04,782 (shared.py) (Line 270) [INFO] : Checking for updates...
2024-01-20 18:12:04,869 (shared.py) (Line 276) [WARNING] : Failed to check for updates:
Traceback (most recent call last):
  File "urllib/request.py", line 1348, in do_open
  File "http/client.py", line 1286, in request
  File "http/client.py", line 1332, in _send_request
  File "http/client.py", line 1281, in endheaders
  File "http/client.py", line 1041, in _send_output
  File "http/client.py", line 979, in send
  File "http/client.py", line 1458, in connect
  File "ssl.py", line 517, in wrap_socket
  File "ssl.py", line 1108, in _create
  File "ssl.py", line 1379, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "shared.py", line 271, in checkUpdate
  File "urllib/request.py", line 216, in urlopen
  File "urllib/request.py", line 519, in open
  File "urllib/request.py", line 536, in _open
  File "urllib/request.py", line 496, in _call_chain
  File "urllib/request.py", line 1391, in https_open
  File "urllib/request.py", line 1351, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)>

2024-01-20 18:12:07,000 (shared.py) (Line 254) [INFO] : [7] Thread checkUpdate (shared.py) ends

Bug: App freezes due to TypeError after loading model

happen

  1. Launch the app.
  2. Select a model (I used htdemucs).
  3. Click Load.
  4. All controls in the app window are disabled, and the app does not respond to drag and drop events.

I see the following in ~/.config/demucs-gui/log right after loading the model:

Traceback (most recent call last):
  File "GuiMain.py", line 170, in showParamSettingsFunc
  File "GuiMain.py", line 382, in __init__
  File "separator.py", line 75, in getAvailableDevices
TypeError: unsupported operand type(s) for /: 'str' and 'int'

What is the platform you are using?

macOS

log

2023-10-19 14:17:29,993 (GuiMain.py) (Line 952) [INFO] : Python version: 3.11.5 (main, Sep 11 2023, 08:27:25) [Clang 14.0.6 ]
2023-10-19 14:17:29,994 (GuiMain.py) (Line 953) [INFO] : Demucs GUI version: 1.0a1
2023-10-19 14:17:30,018 (GuiMain.py) (Line 954) [INFO] : System: macOS-10.16-x86_64-i386-64bit
2023-10-19 14:17:30,030 (GuiMain.py) (Line 955) [INFO] : Architecture: 64bit
2023-10-19 14:17:30,031 (GuiMain.py) (Line 956) [INFO] : CPU: i386
2023-10-19 14:17:30,031 (GuiMain.py) (Line 957) [INFO] : CPU count: 10
2023-10-19 14:17:30,032 (GuiMain.py) (Line 958) [INFO] : System memory: 34359738368 (32.0GB)
2023-10-19 14:17:30,033 (GuiMain.py) (Line 961) [INFO] : System free memory: 613171200 (584.766MB)
2023-10-19 14:17:30,033 (GuiMain.py) (Line 964) [INFO] : System swap memory: 0 (0B)
2023-10-19 14:17:31,429 (audio.py) (Line 29) [INFO] : Soundfile version: 0.12.1
2023-10-19 14:17:31,430 (audio.py) (Line 30) [INFO] : libsndfile version: 1.1.0
2023-10-19 14:17:31,430 (audio.py) (Line 31) [INFO] : SoXR version: 0.3.7
2023-10-19 14:17:31,431 (audio.py) (Line 32) [INFO] : libsoxr version: 0.1.3-7-gacc0dac
2023-10-19 14:17:31,431 (separator.py) (Line 43) [INFO] : Demucs version: 4.1.0a2
2023-10-19 14:17:31,431 (separator.py) (Line 44) [INFO] : PyTorch version: 2.1.0
2023-10-19 14:17:32,700 (audio.py) (Line 40) [INFO] : ffmpeg -version output:
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
built with Apple clang version 14.0.0 (clang-1400.0.29.202)
configuration: --prefix=/usr/local/Cellar/ffmpeg/6.0 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100

2023-10-19 14:17:32,837 (audio.py) (Line 45) [INFO] : ffprobe -version output:
ffprobe version 6.0 Copyright (c) 2007-2023 the FFmpeg developers
built with Apple clang version 14.0.0 (clang-1400.0.29.202)
configuration: --prefix=/usr/local/Cellar/ffmpeg/6.0 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100

2023-10-19 14:17:42,377 (GuiMain.py) (Line 270) [INFO] : Loading model htdemucs from repo /Applications/Demucs-GUI.app/Contents/MacOS/pretrained
2023-10-19 14:17:42,901 (GuiMain.py) (Line 292) [INFO] : Model loaded within 0.5213s
2023-10-19 14:17:42,903 (GuiMain.py) (Line 293) [INFO] : Model: htdemucs
Repo: /Applications/Demucs-GUI.app/Contents/MacOS/pretrained
Type: Bag of models
Audio channels: 2
Sample rate: 44100
Sources: drums, bass, other, vocals

Model 0:
Type: HTDemucs
Default segment: 7.8
Weight: [1.0, 1.0, 1.0, 1.0]
Traceback (most recent call last):
File "GuiMain.py", line 170, in showParamSettingsFunc
File "GuiMain.py", line 382, in init
File "separator.py", line 75, in getAvailableDevices
TypeError: unsupported operand type(s) for /: 'str' and 'int'

All models stuck on 100%

No stems are generating and ETA is 23:59:59
GPU: RTX 2060S
OS: Windows 10

log

2024-03-13 19:05:09,553 (GuiMain.py) (Line 1729) [INFO] : Python version: 3.11.6 | packaged by conda-forge | (main, Oct 3 2023, 10:29:11) [MSC v.1935 64 bit (AMD64)]
2024-03-13 19:05:09,553 (GuiMain.py) (Line 1730) [INFO] : Demucs GUI version: 1.1b1
2024-03-13 19:05:09,606 (GuiMain.py) (Line 1731) [INFO] : System: Windows-10-10.0.19044-SP0
2024-03-13 19:05:09,606 (GuiMain.py) (Line 1732) [INFO] : Architecture: 64bit
2024-03-13 19:05:09,606 (GuiMain.py) (Line 1733) [INFO] : CPU: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
2024-03-13 19:05:09,606 (GuiMain.py) (Line 1734) [INFO] : CPU count: 8
2024-03-13 19:05:09,612 (GuiMain.py) (Line 1735) [INFO] : System memory: 17121316864 (15.945GB)
2024-03-13 19:05:09,617 (GuiMain.py) (Line 1738) [INFO] : System free memory: 6597869568 (6.145GB)
2024-03-13 19:05:10,029 (GuiMain.py) (Line 1741) [INFO] : System swap memory: 12786352128 (11.908GB)
2024-03-13 19:05:10,175 (find_device_win.py) (Line 111) [INFO] : Found GPU: NVIDIA GeForce RTX 2060 SUPER (10DE:1F06)
2024-03-13 19:05:10,176 (GuiMain.py) (Line 1755) [INFO] : Using PySide6
2024-03-13 19:05:10,176 (GuiMain.py) (Line 1756) [INFO] : Qt version: 6.5.3
2024-03-13 19:05:10,176 (GuiMain.py) (Line 1757) [INFO] : PySide6 version: 6.5.3
2024-03-13 19:05:10,228 (shared.py) (Line 289) [INFO] : [1] Thread starter (separator.py) starts
2024-03-13 19:05:10,304 (GuiMain.py) (Line 1762) [DEBUG] : Supported styles: windowsvista, Windows, Fusion
2024-03-13 19:05:10,306 (GuiMain.py) (Line 1766) [DEBUG] : Current style: windowsvista
2024-03-13 19:05:12,475 (separator.py) (Line 64) [INFO] : Intel Extension for PyTorch is not installed
2024-03-13 19:05:12,635 (audio.py) (Line 34) [INFO] : Soundfile version: 0.12.1
2024-03-13 19:05:12,635 (audio.py) (Line 35) [INFO] : libsndfile version: 1.2.0
2024-03-13 19:05:12,635 (audio.py) (Line 36) [INFO] : SoXR version: 0.3.7
2024-03-13 19:05:12,635 (audio.py) (Line 37) [INFO] : libsoxr version: 0.1.3-7-gacc0dac
2024-03-13 19:05:12,635 (separator.py) (Line 85) [INFO] : Demucs version: 4.1.0a2
2024-03-13 19:05:12,636 (separator.py) (Line 86) [INFO] : PyTorch version: 2.0.1+cu118
2024-03-13 19:05:12,637 (separator.py) (Line 95) [INFO] : CUDA Info: _CudaDeviceProperties(name='NVIDIA GeForce RTX 2060 SUPER', major=7, minor=5, total_memory=8191MB, multi_processor_count=34)
2024-03-13 19:05:13,684 (audio.py) (Line 49) [INFO] : ffmpeg -version output:
ffmpeg version 6.1.1-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers

built with gcc 12.2.0 (Rev10, Built by MSYS2 project)

configuration: --enable-gpl --enable-version3 --enable-shared --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint

libavutil 58. 29.100 / 58. 29.100

libavcodec 60. 31.102 / 60. 31.102

libavformat 60. 16.100 / 60. 16.100

libavdevice 60. 3.100 / 60. 3.100

libavfilter 9. 12.100 / 9. 12.100

libswscale 7. 5.100 / 7. 5.100

libswresample 4. 12.100 / 4. 12.100

libpostproc 57. 3.100 / 57. 3.100

2024-03-13 19:05:13,732 (audio.py) (Line 54) [INFO] : Using ffmpeg from D:\dwnl\web_dwhl\chrome_dwhl\Demucs-GUI_1.1b1_cuda\ffmpeg\ffmpeg.EXE
2024-03-13 19:05:13,733 (audio.py) (Line 55) [INFO] : ffprobe -version output:
ffprobe version 6.1.1-full_build-www.gyan.dev Copyright (c) 2007-2023 the FFmpeg developers

built with gcc 12.2.0 (Rev10, Built by MSYS2 project)

configuration: --enable-gpl --enable-version3 --enable-shared --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint

libavutil 58. 29.100 / 58. 29.100

libavcodec 60. 31.102 / 60. 31.102

libavformat 60. 16.100 / 60. 16.100

libavdevice 60. 3.100 / 60. 3.100

libavfilter 9. 12.100 / 9. 12.100

libswscale 7. 5.100 / 7. 5.100

libswresample 4. 12.100 / 4. 12.100

libpostproc 57. 3.100 / 57. 3.100

2024-03-13 19:05:14,734 (shared.py) (Line 300) [INFO] : [1] Thread starter (separator.py) ends
2024-03-13 19:05:14,740 (shared.py) (Line 289) [INFO] : [2] Thread checkUpdate (shared.py) starts
2024-03-13 19:05:14,751 (shared.py) (Line 316) [INFO] : Checking for updates...
2024-03-13 19:05:16,098 (shared.py) (Line 319) [INFO] : Latest version: 1.1b1
2024-03-13 19:05:16,099 (shared.py) (Line 300) [INFO] : [2] Thread checkUpdate (shared.py) ends
2024-03-13 19:05:19,300 (shared.py) (Line 289) [INFO] : [3] Thread loadModel (GuiMain.py) starts
2024-03-13 19:05:19,303 (GuiMain.py) (Line 625) [INFO] : Loading model htdemucs from repo D:\dwnl\web_dwhl\chrome_dwhl\Demucs-GUI_1.1b1_cuda\pretrained
2024-03-13 19:05:20,254 (GuiMain.py) (Line 653) [INFO] : Model loaded within 0.9470s
2024-03-13 19:05:20,255 (GuiMain.py) (Line 654) [INFO] : Model: htdemucs
Repo: D:\dwnl\web_dwhl\chrome_dwhl\Demucs-GUI_1.1b1_cuda\pretrained
Type: Bag of models
Audio channels: 2
Sample rate: 44100
Sources: drums, bass, other, vocals

Model 0:
 Type: HTDemucs
 Default segment: 7.8
 Weight: [1.0, 1.0, 1.0, 1.0]
2024-03-13 19:05:20,255 (shared.py) (Line 300) [INFO] : [3] Thread loadModel (GuiMain.py) ends
2024-03-13 19:05:20,266 (GuiMain.py) (Line 1234) [INFO] : Preset stem key: ["bass","drums","other","vocals"]
2024-03-13 19:05:20,266 (GuiMain.py) (Line 1386) [INFO] : Adding saved presets: []
2024-03-13 19:05:33,313 (shared.py) (Line 289) [INFO] : [4] Thread separate (separator.py) starts
2024-03-13 19:05:33,314 (separator.py) (Line 446) [INFO] : Start separating audio: pb_theme_pc_speaker.mp3
2024-03-13 19:05:33,314 (separator.py) (Line 447) [INFO] : Parameters: segment=7.80 overlap=0.25 shifts=0
2024-03-13 19:05:33,314 (separator.py) (Line 448) [INFO] : Device: cuda:0
2024-03-13 19:05:33,316 (audio.py) (Line 66) [DEBUG] : Reading audio with soundfile: D:\dwnl\web_dwhl\chrome_dwhl\drive-download-20230630T212355Z-001\Progressbar95\steamapps\common\Progressbar95\Resources\sound\pb_theme_pc_speaker.mp3
2024-03-13 19:05:33,375 (audio.py) (Line 82) [INFO] : Read audio D:\dwnl\web_dwhl\chrome_dwhl\drive-download-20230630T212355Z-001\Progressbar95\steamapps\common\Progressbar95\Resources\sound\pb_theme_pc_speaker.mp3: samplerate=44100 shape=(2540160, 1)
2024-03-13 19:05:33,377 (separator.py) (Line 478) [INFO] : Running separation...
2024-03-13 19:05:39,761 (separator.py) (Line 503) [INFO] : Saving separated audio...
2024-03-13 19:05:39,762 (shared.py) (Line 289) [INFO] : [5] Thread save (GuiMain.py) starts
2024-03-13 19:05:39,764 (shared.py) (Line 295) [ERROR] : [5] Thread save (GuiMain.py) failed:
Traceback (most recent call last):
File "shared.py", line 293, in run_and_log
File "GuiMain.py", line 943, in save
AttributeError: 'Mixer' object has no attribute 'setEnable'

2024-03-13 19:05:39,764 (shared.py) (Line 300) [INFO] : [5] Thread save (GuiMain.py) ends
2024-03-13 19:05:39,774 (shared.py) (Line 300) [INFO] : [4] Thread separate (separator.py) ends
2024-03-13 19:05:47,239 (shared.py) (Line 205) [DEBUG] : () Set history ('separate_once_added',) to 2
2024-03-13 19:05:48,806 (shared.py) (Line 205) [DEBUG] : () Set history ('separate_once_added',) to 0

Bug: 1.1b1 can't save files

happen

  1. Select a file and start separation.
  2. Status bar stuck in 100% and no stem files saved.

What is the platform you are using?

Windows

log

Model 0:
 Type: HTDemucs
 Default segment: 7.8
 Weight: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
2024-03-13 14:43:32,456 (shared.py) (Line 300) [INFO] : [3] Thread loadModel (GuiMain.py) ends
2024-03-13 14:43:32,489 (GuiMain.py) (Line 1234) [INFO] : Preset stem key: ["bass","drums","guitar","other","piano","vocals"]
2024-03-13 14:43:32,489 (GuiMain.py) (Line 1386) [INFO] : Adding saved presets: []
2024-03-13 14:44:10,631 (shared.py) (Line 289) [INFO] : [4] Thread separate (separator.py) starts
2024-03-13 14:44:10,631 (separator.py) (Line 446) [INFO] : Start separating audio: Audio.mp3
2024-03-13 14:44:10,631 (separator.py) (Line 447) [INFO] : Parameters: segment=7.80 overlap=0.25 shifts=10
2024-03-13 14:44:10,631 (separator.py) (Line 448) [INFO] : Device: cuda:0
2024-03-13 14:44:10,632 (audio.py) (Line 66) [DEBUG] : Reading audio with soundfile: D:\Audio.mp3
2024-03-13 14:44:10,909 (audio.py) (Line 82) [INFO] : Read audio D:\Audio.mp3: samplerate=44100 shape=(10137647, 2)
2024-03-13 14:44:10,922 (separator.py) (Line 478) [INFO] : Running separation...
2024-03-13 14:45:03,024 (separator.py) (Line 503) [INFO] : Saving separated audio...
2024-03-13 14:45:03,026 (shared.py) (Line 289) [INFO] : [5] Thread save (GuiMain.py) starts
2024-03-13 14:45:03,029 (shared.py) (Line 300) [INFO] : [4] Thread separate (separator.py) ends
2024-03-13 14:45:03,030 (shared.py) (Line 295) [ERROR] : [5] Thread save (GuiMain.py) failed:
Traceback (most recent call last):
  File "shared.py", line 293, in run_and_log
  File "GuiMain.py", line 943, in save
AttributeError: 'Mixer' object has no attribute 'setEnable'

2024-03-13 14:45:03,030 (shared.py) (Line 300) [INFO] : [5] Thread save (GuiMain.py) ends

Can not install via pip.

happen

pip install fail since it could not satisfy requirement demucs>=4.1.0a2 on my M1 MacBook.

I guess this line is incorrect in requirements.txt:

demucs>=4.1.0a2

On pip site, demucs is still 4.0.1.
https://pypi.org/project/demucs/

By changing as below, pip install succeeded.

demucs>=4.0.1

What is the platform you are using?

macOS

log

➜  Demucs-Gui git:(main) python3 -m pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement demucs>=4.1.0a2 (from versions: 0.0.0, 0.0.1, 0.0.2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 4.0.0, 4.0.1)
ERROR: No matching distribution found for demucs>=4.1.0a2
WARNING: There was an error checking the latest version of pip.

Some suggestions

Hello. Good job on the pre-release program. It works for me. I have a few suggestions which I hope you will consider implementing in the future.

  • 1. Add mp3 support, both as input and output: Many people have mp3 files in their HDs. As of now, they are forced to convert an mp3 to a supported file (such as .flac or .wav) to import into DemucsGUI. Also, I noticed that the program only outputs .wav files. It would be great to choose which output format one wants to be returned.
  • #25
  • 3. Add options such as bitrate, float32, etc...

Bug: 1.2b1 CUDA fails to separate

happen

Build 1.2b1_cuda_mkl fails to separate the file. Previous build 1.2a1_cuda separates the same file without a hitch.

What is the platform you are using?

Windows

log

2024-05-12 14:51:01,442 (GuiMain.py) (Line 2040) [INFO] : Python version: 3.11.9 | packaged by conda-forge | (main, Apr 19 2024, 18:27:10) [MSC v.1938 64 bit (AMD64)]
2024-05-12 14:51:01,442 (GuiMain.py) (Line 2041) [INFO] : Demucs GUI version: 1.2b1
2024-05-12 14:51:01,471 (GuiMain.py) (Line 2042) [INFO] : System: Windows-10-10.0.19045-SP0
2024-05-12 14:51:01,472 (GuiMain.py) (Line 2043) [INFO] : Architecture: 64bit
2024-05-12 14:51:01,472 (GuiMain.py) (Line 2044) [INFO] : CPU: Intel64 Family 6 Model 151 Stepping 2, GenuineIntel
2024-05-12 14:51:01,472 (GuiMain.py) (Line 2045) [INFO] : CPU count: 20
2024-05-12 14:51:01,477 (GuiMain.py) (Line 2046) [INFO] : System memory: 34212798464 (31.863GB)
2024-05-12 14:51:01,481 (GuiMain.py) (Line 2049) [INFO] : System free memory: 19877367808 (18.512GB)
2024-05-12 14:51:01,558 (GuiMain.py) (Line 2053) [INFO] : System swap memory: 8589934592 (8GB)
2024-05-12 14:51:01,610 (find_device_win.py) (Line 207) [INFO] : Found GPU: NVIDIA GeForce RTX 3060 (10DE:2487)
2024-05-12 14:51:01,610 (GuiMain.py) (Line 2071) [INFO] : Using PySide6
2024-05-12 14:51:01,610 (GuiMain.py) (Line 2072) [INFO] : Qt version: 6.7.0
2024-05-12 14:51:01,610 (GuiMain.py) (Line 2073) [INFO] : PySide6 version: 6.7.0
2024-05-12 14:51:01,656 (shared.py) (Line 356) [INFO] : [1] Thread starter (separator.py) starts
2024-05-12 14:51:01,719 (GuiMain.py) (Line 2078) [DEBUG] : Supported styles: windows11, windowsvista, Windows, Fusion
2024-05-12 14:51:01,721 (GuiMain.py) (Line 2082) [DEBUG] : Current style: windowsvista
intel_extension_for_pytorch\xpu\lazy_init.py:80: UserWarning: XPU Device count is zero! (Triggered internally at E:/AI/ipex-build/2.1.30/intel-extension-for-pytorch/csrc/gpu/runtime/Device.cpp:127.)
  _C._initExtension()
2024-05-12 14:51:09,151 (separator.py) (Line 64) [INFO] : Intel Extension for PyTorch version: 2.1.30+xpu
2024-05-12 14:51:09,151 (separator.py) (Line 64) [INFO] : Intel Extension for PyTorch version: 2.1.30+xpu
2024-05-12 14:51:09,151 (separator.py) (Line 64) [INFO] : Intel Extension for PyTorch version: 2.1.30+xpu
2024-05-12 14:51:09,152 (separator.py) (Line 64) [INFO] : Intel Extension for PyTorch version: 2.1.30+xpu
2024-05-12 14:51:09,152 (separator.py) (Line 64) [INFO] : Intel Extension for PyTorch version: 2.1.30+xpu
2024-05-12 14:51:09,157 (utils.py) (Line 93) [DEBUG] : Attempting to load FFmpeg version 6.
2024-05-12 14:51:09,159 (utils.py) (Line 130) [DEBUG] : Failed to load FFmpeg 6 extension.
Traceback (most recent call last):
  File "PyInstaller\loader\pyimod03_ctypes.py", line 53, in __init__
  File "ctypes\__init__.py", line 376, in __init__
FileNotFoundError: Could not find module 'F:\Demucs-GUI_1.2b1_cuda_mkl\torchaudio\lib\libtorchaudio_ffmpeg6.pyd' (or one of its dependencies). Try using the full path with constructor syntax.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "torchaudio\_extension\utils.py", line 128, in _find_ffmpeg_extension
    return _find_versionsed_ffmpeg_extension(ffmpeg_ver)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "torchaudio\_extension\utils.py", line 115, in _find_versionsed_ffmpeg_extension
    _load_lib(library)
  File "torchaudio\_extension\utils.py", line 64, in _load_lib
    torch.ops.load_library(path)
  File "torch\_ops.py", line 852, in load_library
    ctypes.CDLL(path)
  File "PyInstaller\loader\pyimod03_ctypes.py", line 55, in __init__
pyimod03_ctypes.install.<locals>.PyInstallerImportError: Failed to load dynlib/dll 'F:\\Demucs-GUI_1.2b1_cuda_mkl\\torchaudio\\lib\\libtorchaudio_ffmpeg6.pyd'. Most likely this dynlib/dll was not found when the application was frozen.
2024-05-12 14:51:09,160 (utils.py) (Line 93) [DEBUG] : Attempting to load FFmpeg version 5.
2024-05-12 14:51:09,355 (utils.py) (Line 130) [DEBUG] : Failed to load FFmpeg 5 extension.
Traceback (most recent call last):
  File "torchaudio\_extension\utils.py", line 128, in _find_ffmpeg_extension
    return _find_versionsed_ffmpeg_extension(ffmpeg_ver)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "torchaudio\_extension\utils.py", line 113, in _find_versionsed_ffmpeg_extension
    _try_access_avutil(ffmpeg_ver)
  File "torchaudio\_extension\utils.py", line 89, in _try_access_avutil
    torchaudio.lib._torchaudio.find_avutil(libavutil)
RuntimeError: error in LoadLibrary for avutil-57.dll. WinError 126: The specified module could not be found.


2024-05-12 14:51:09,355 (utils.py) (Line 93) [DEBUG] : Attempting to load FFmpeg version 4.
2024-05-12 14:51:09,356 (utils.py) (Line 130) [DEBUG] : Failed to load FFmpeg 4 extension.
Traceback (most recent call last):
  File "torchaudio\_extension\utils.py", line 128, in _find_ffmpeg_extension
    return _find_versionsed_ffmpeg_extension(ffmpeg_ver)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "torchaudio\_extension\utils.py", line 113, in _find_versionsed_ffmpeg_extension
    _try_access_avutil(ffmpeg_ver)
  File "torchaudio\_extension\utils.py", line 89, in _try_access_avutil
    torchaudio.lib._torchaudio.find_avutil(libavutil)
RuntimeError: error in LoadLibrary for avutil-56.dll. WinError 126: The specified module could not be found.


2024-05-12 14:51:09,356 (__init__.py) (Line 96) [DEBUG] : Failed to initialize ffmpeg bindings
Traceback (most recent call last):
  File "torchaudio\_extension\__init__.py", line 89, in <module>
    _FFMPEG_EXT = _init_ffmpeg()
                  ^^^^^^^^^^^^^^
  File "torchaudio\_extension\utils.py", line 162, in _init_ffmpeg
    ext = _find_ffmpeg_extension(ffmpeg_vers, show_error)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "torchaudio\_extension\utils.py", line 132, in _find_ffmpeg_extension
    raise ImportError(f"Failed to intialize FFmpeg extension. Tried versions: {ffmpeg_vers}")
ImportError: Failed to intialize FFmpeg extension. Tried versions: ['6', '5', '4']
PyInstaller\loader\pyimod02_importers.py:419: UserWarning: TorchAudio's global backend is now deprecated. Please enable distpatcher by setting `TORCHAUDIO_USE_BACKEND_DISPATCHER=1`, and specify backend when calling load/info/save function.
2024-05-12 14:51:09,499 (audio.py) (Line 34) [INFO] : Soundfile version: 0.12.1
2024-05-12 14:51:09,500 (audio.py) (Line 35) [INFO] : libsndfile version: 1.2.0
2024-05-12 14:51:09,500 (audio.py) (Line 36) [INFO] : SoXR version: 0.3.7
2024-05-12 14:51:09,500 (audio.py) (Line 37) [INFO] : libsoxr version: 0.1.3-7-gacc0dac
2024-05-12 14:51:09,501 (separator.py) (Line 88) [INFO] : Demucs version: 4.1.0a2
2024-05-12 14:51:09,501 (separator.py) (Line 89) [INFO] : PyTorch version: 2.1.0+cu118
torch\cuda\__init__.py:190: UserWarning: 
    Found GPU0 NVIDIA GeForce RTX 3060 which is of cuda capability 8.6.
    PyTorch no longer supports this GPU because it is too old.
    The minimum cuda capability supported by this library is 8.9.
    
  warnings.warn(
2024-05-12 14:51:09,502 (separator.py) (Line 99) [INFO] : CUDA Info: _CudaDeviceProperties(name='NVIDIA GeForce RTX 3060', major=8, minor=6, total_memory=12287MB, multi_processor_count=28)
2024-05-12 14:51:10,562 (audio.py) (Line 49) [INFO] : ffmpeg -version output:
ffmpeg version 6.1.1-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers

built with gcc 12.2.0 (Rev10, Built by MSYS2 project)

configuration: --enable-gpl --enable-version3 --enable-shared --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint

libavutil      58. 29.100 / 58. 29.100

libavcodec     60. 31.102 / 60. 31.102

libavformat    60. 16.100 / 60. 16.100

libavdevice    60.  3.100 / 60.  3.100

libavfilter     9. 12.100 /  9. 12.100

libswscale      7.  5.100 /  7.  5.100

libswresample   4. 12.100 /  4. 12.100

libpostproc    57.  3.100 / 57.  3.100


2024-05-12 14:51:10,610 (audio.py) (Line 54) [INFO] : Using ffmpeg from F:\Demucs-GUI_1.2b1_cuda_mkl\ffmpeg\ffmpeg.EXE
2024-05-12 14:51:10,610 (audio.py) (Line 55) [INFO] : ffprobe -version output:
ffprobe version 6.1.1-full_build-www.gyan.dev Copyright (c) 2007-2023 the FFmpeg developers

built with gcc 12.2.0 (Rev10, Built by MSYS2 project)

configuration: --enable-gpl --enable-version3 --enable-shared --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint

libavutil      58. 29.100 / 58. 29.100

libavcodec     60. 31.102 / 60. 31.102

libavformat    60. 16.100 / 60. 16.100

libavdevice    60.  3.100 / 60.  3.100

libavfilter     9. 12.100 /  9. 12.100

libswscale      7.  5.100 /  7.  5.100

libswresample   4. 12.100 /  4. 12.100

libpostproc    57.  3.100 / 57.  3.100


2024-05-12 14:51:11,611 (shared.py) (Line 367) [INFO] : [1] Thread starter (separator.py) ends
2024-05-12 14:51:11,618 (shared.py) (Line 356) [INFO] : [2] Thread checkUpdate (shared.py) starts
2024-05-12 14:51:11,626 (shared.py) (Line 383) [INFO] : Checking for updates...
2024-05-12 14:51:12,400 (shared.py) (Line 386) [INFO] : Latest version: 1.2b1
2024-05-12 14:51:12,401 (shared.py) (Line 367) [INFO] : [2] Thread checkUpdate (shared.py) ends
2024-05-12 14:51:36,790 (shared.py) (Line 356) [INFO] : [3] Thread loadModel (GuiMain.py) starts
2024-05-12 14:51:36,792 (GuiMain.py) (Line 647) [INFO] : Loading model htdemucs from repo F:\Demucs-GUI_1.2b1_cuda_mkl\pretrained
2024-05-12 14:51:37,081 (GuiMain.py) (Line 675) [INFO] : Model loaded within 0.2865s
2024-05-12 14:51:37,081 (GuiMain.py) (Line 676) [INFO] : Model: htdemucs
Repo: F:\Demucs-GUI_1.2b1_cuda_mkl\pretrained
Type: Bag of models
Audio channels: 2
Sample rate: 44100
Sources: drums, bass, other, vocals

Model 0:
 Type: HTDemucs
 Default segment: 7.8
 Weight: [1.0, 1.0, 1.0, 1.0]
2024-05-12 14:51:37,091 (shared.py) (Line 367) [INFO] : [3] Thread loadModel (GuiMain.py) ends
2024-05-12 14:51:37,091 (shared.py) (Line 270) [DEBUG] : (switchEncoder) Set history ('encoder',) to 0
2024-05-12 14:51:37,091 (shared.py) (Line 272) [DEBUG] : History not changed, ignored
2024-05-12 14:51:37,092 (GuiMain.py) (Line 1502) [INFO] : Preset stem key: ["bass","drums","other","vocals"]
2024-05-12 14:51:37,092 (GuiMain.py) (Line 1657) [INFO] : Adding saved presets: []
2024-05-12 14:51:46,160 (shared.py) (Line 356) [INFO] : [4] Thread separate (separator.py) starts
2024-05-12 14:51:46,160 (separator.py) (Line 459) [INFO] : Start separating audio: 14 Gethsemane.mp3
2024-05-12 14:51:46,161 (separator.py) (Line 460) [INFO] : Parameters: segment=7.80 overlap=0.25 shifts=0
2024-05-12 14:51:46,161 (separator.py) (Line 461) [INFO] : Device: cuda:0
2024-05-12 14:51:46,161 (audio.py) (Line 66) [DEBUG] : Reading audio with soundfile: D:\14 Gethsemane.mp3
2024-05-12 14:51:46,457 (audio.py) (Line 82) [INFO] : Read audio D:\14 Gethsemane.mp3: samplerate=44100 shape=(14673024, 2)
2024-05-12 14:51:46,562 (separator.py) (Line 497) [INFO] : Running separation...
2024-05-12 14:51:46,810 (separator.py) (Line 518) [ERROR] : Traceback (most recent call last):
  File "separator.py", line 512, in separate
  File "demucs\api.py", line 271, in separate_tensor
  File "demucs\apply.py", line 216, in apply_model
  File "demucs\apply.py", line 271, in apply_model
RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.


2024-05-12 14:51:46,876 (shared.py) (Line 367) [INFO] : [4] Thread separate (separator.py) ends

How to use?

Hi, I'm already using Demucs in CLI mode. Is it possible to compile this Python project of yours as single executable file for Ubuntu and Windows?

BTW, how to run this "GUI" Demucs? I'm from a Web background.

Thanks in advance

Can't run Demucs-gui

Hi,
Thanks for this useful project.
I'm on W10, amd gpu, python 3.10.6 installed
I have unzip and run Demucs-GUI.exe. A cmd window opens less than one second and close, so nothing happen. I tried v.1.1a and 1.2 cpu, same problem. Is there something I did wrong? some prerequisites i missed ?

Bug: Unable to load any models

happen

  1. When selecting modelling, they appear not to download

What is the platform you are using?

macOS

log

024-01-21 19:48:49,138 (shared.py) (Line 167) [INFO] : [2] Thread loadModel (GuiMain.py) ends
2024-01-21 19:49:22,733 (shared.py) (Line 161) [INFO] : [3] Thread loadModel (GuiMain.py) starts
2024-01-21 19:49:22,734 (GuiMain.py) (Line 368) [INFO] : Loading model mdx from repo "remote"
Downloading: "https://dl.fbaipublicfiles.com/demucs/mdx_final/0d19c1c6-0f06f20e.th" to /Users/Vinney/.cache/torch/hub/checkpoints/0d19c1c6-0f06f20e.th
2024-01-21 19:49:22,772 (GuiMain.py) (Line 241) [ERROR] : Failed to load model mdx from remote repo:
Traceback (most recent call last):
  File "urllib/request.py", line 1348, in do_open
  File "http/client.py", line 1286, in request
  File "http/client.py", line 1332, in _send_request
  File "http/client.py", line 1281, in endheaders
  File "http/client.py", line 1041, in _send_output
  File "http/client.py", line 979, in send
  File "http/client.py", line 1458, in connect
  File "ssl.py", line 517, in wrap_socket
  File "ssl.py", line 1108, in _create
  File "ssl.py", line 1379, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "GuiMain.py", line 239, in loadModel
  File "separator.py", line 165, in __init__
  File "demucs/api.py", line 119, in __init__
  File "demucs/api.py", line 204, in _load_model
  File "demucs/pretrained.py", line 78, in get_model
  File "demucs/repo.py", line 160, in get_model
  File "demucs/repo.py", line 139, in get_model
  File "demucs/repo.py", line 139, in <listcomp>
  File "demucs/repo.py", line 68, in get_model
  File "torch/hub.py", line 746, in load_state_dict_from_url
    download_url_to_file(url, cached_file, hash_prefix, progress=progress)
  File "torch/hub.py", line 611, in download_url_to_file
    u = urlopen(req)
        ^^^^^^^^^^^^
  File "urllib/request.py", line 216, in urlopen
  File "urllib/request.py", line 519, in open
  File "urllib/request.py", line 536, in _open
  File "urllib/request.py", line 496, in _call_chain
  File "urllib/request.py", line 1391, in https_open
  File "urllib/request.py", line 1351, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)>

2024-01-21 19:49:22,773 (shared.py) (Line 167) [INFO] : [3] Thread loadModel (GuiMain.py) ends

Bug: macOS arm64 hangs on downloading mdx_extra_q

happen

macOS Sonoma 14.4.1 / MacBook Pro M1 Max 64 GB

Root cause: "Trying to use DiffQ, but diffq is not installed. -- On Linux/Mac, run: python3 -m pip install diffq" (but duh, this does not work because this app is packaged with its own Python environment.)

  1. Launch app.
  2. Choose mdx_extra_q model from dropdown (demucs team recommends this model as a higher quality alternative of the newer htdemucs model).
  3. Click Load.
  4. All 4 model parts get downloaded.
  5. App hangs on "Loading model mdx_extra_q" in status bar.
  6. Quit and re-launch app.
  7. Re-select mdx_extra_q in dropdown.
  8. All models show as Downloaded.
  9. Click Load.
  10. Hangs again.
  11. Quit app.
  12. Delete ~/.config/demucs-gui
  13. Repeat all steps above and notice no change in behavior.

What is the platform you are using?

macOS

log

2024-05-14 14:52:18,284 (GuiMain.py) (Line 2043) [INFO] : Python version: 3.11.9 (main, Apr 19 2024, 11:49:16) [Clang 14.0.6 ]
2024-05-14 14:52:18,285 (GuiMain.py) (Line 2044) [INFO] : Demucs GUI version: 1.2b2
2024-05-14 14:52:18,291 (GuiMain.py) (Line 2045) [INFO] : System: macOS-14.4.1-arm64-arm-64bit
2024-05-14 14:52:18,294 (GuiMain.py) (Line 2046) [INFO] : Architecture: 64bit
2024-05-14 14:52:18,294 (GuiMain.py) (Line 2047) [INFO] : CPU: arm
2024-05-14 14:52:18,295 (GuiMain.py) (Line 2048) [INFO] : CPU count: 10
2024-05-14 14:52:18,296 (GuiMain.py) (Line 2049) [INFO] : System memory: 68719476736 (64GB)
2024-05-14 14:52:18,296 (GuiMain.py) (Line 2052) [INFO] : System free memory: 39650213888 (36.927GB)
2024-05-14 14:52:18,296 (GuiMain.py) (Line 2056) [INFO] : System swap memory: 2147483648 (2GB)
2024-05-14 14:52:18,296 (GuiMain.py) (Line 2074) [INFO] : Using PySide6
2024-05-14 14:52:18,297 (GuiMain.py) (Line 2075) [INFO] : Qt version: 6.7.0
2024-05-14 14:52:18,297 (GuiMain.py) (Line 2076) [INFO] : PySide6 version: 6.7.0
2024-05-14 14:52:18,387 (shared.py) (Line 360) [INFO] : [1] Thread starter (separator.py) starts
2024-05-14 14:52:18,400 (GuiMain.py) (Line 2081) [DEBUG] : Supported styles: macOS, Windows, Fusion
2024-05-14 14:52:18,408 (GuiMain.py) (Line 2087) [DEBUG] : Current style: macos
2024-05-14 14:52:19,283 (separator.py) (Line 66) [INFO] : Intel Extension for PyTorch is not installed
2024-05-14 14:52:19,291 (__init__.py) (Line 68) [DEBUG] : Failed to initialize sox extension
Traceback (most recent call last):
  File "PyInstaller/loader/pyimod03_ctypes.py", line 53, in __init__
  File "ctypes/__init__.py", line 376, in __init__
OSError: dlopen(/Applications/Demucs-GUI.app/Contents/Frameworks/torchaudio/lib/libtorchaudio_sox.so, 0x0006): Library not loaded: @rpath/libsox.dylib
  Referenced from: <20E00ABB-13B8-31A1-A605-453D3F4E7C79> /Applications/Demucs-GUI.app/Contents/Frameworks/torchaudio/lib/libtorchaudio_sox.so
  Reason: tried: '/Applications/Demucs-GUI.app/Contents/Frameworks/torchaudio/lib/../../libsox.dylib' (no such file), '/Applications/Demucs-GUI.app/Contents/Frameworks/torchaudio/lib/../../libsox.dylib' (no such file), '/Applications/Demucs-GUI.app/Contents/Frameworks/lib-dynload/../libsox.dylib' (no such file), '/usr/local/lib/libsox.dylib' (no such file), '/usr/lib/libsox.dylib' (no such file, not in dyld cache)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "torchaudio/_extension/__init__.py", line 60, in <module>
    _init_sox()
  File "torchaudio/_extension/utils.py", line 70, in _init_sox
    _load_lib("libtorchaudio_sox")
  File "torchaudio/_extension/utils.py", line 64, in _load_lib
    torch.ops.load_library(path)
  File "torch/_ops.py", line 852, in load_library
    ctypes.CDLL(path)
  File "PyInstaller/loader/pyimod03_ctypes.py", line 55, in __init__
pyimod03_ctypes.install.<locals>.PyInstallerImportError: Failed to load dynlib/dll '/Applications/Demucs-GUI.app/Contents/Frameworks/torchaudio/lib/libtorchaudio_sox.so'. Most likely this dynlib/dll was not found when the application was frozen.
2024-05-14 14:52:19,292 (utils.py) (Line 93) [DEBUG] : Attempting to load FFmpeg version 6.
2024-05-14 14:52:19,294 (utils.py) (Line 130) [DEBUG] : Failed to load FFmpeg 6 extension.
Traceback (most recent call last):
  File "torchaudio/_extension/utils.py", line 128, in _find_ffmpeg_extension
    return _find_versionsed_ffmpeg_extension(ffmpeg_ver)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "torchaudio/_extension/utils.py", line 113, in _find_versionsed_ffmpeg_extension
    _try_access_avutil(ffmpeg_ver)
  File "torchaudio/_extension/utils.py", line 89, in _try_access_avutil
    torchaudio.lib._torchaudio.find_avutil(libavutil)
RuntimeError: Error in dlopen: dlopen(libavutil.58.dylib, 0x0006): tried: 'libavutil.58.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibavutil.58.dylib' (no such file), '/Applications/Demucs-GUI.app/Contents/Frameworks/torch/lib/../../libavutil.58.dylib' (no such file), '/usr/lib/libavutil.58.dylib' (no such file, not in dyld cache), 'libavutil.58.dylib' (no such file), '/usr/local/lib/libavutil.58.dylib' (no such file), '/usr/lib/libavutil.58.dylib' (no such file, not in dyld cache)
2024-05-14 14:52:19,295 (utils.py) (Line 93) [DEBUG] : Attempting to load FFmpeg version 5.
2024-05-14 14:52:19,296 (utils.py) (Line 130) [DEBUG] : Failed to load FFmpeg 5 extension.
Traceback (most recent call last):
  File "torchaudio/_extension/utils.py", line 128, in _find_ffmpeg_extension
    return _find_versionsed_ffmpeg_extension(ffmpeg_ver)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "torchaudio/_extension/utils.py", line 113, in _find_versionsed_ffmpeg_extension
    _try_access_avutil(ffmpeg_ver)
  File "torchaudio/_extension/utils.py", line 89, in _try_access_avutil
    torchaudio.lib._torchaudio.find_avutil(libavutil)
RuntimeError: Error in dlopen: dlopen(libavutil.57.dylib, 0x0006): tried: 'libavutil.57.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibavutil.57.dylib' (no such file), '/Applications/Demucs-GUI.app/Contents/Frameworks/torch/lib/../../libavutil.57.dylib' (no such file), '/usr/lib/libavutil.57.dylib' (no such file, not in dyld cache), 'libavutil.57.dylib' (no such file), '/usr/local/lib/libavutil.57.dylib' (no such file), '/usr/lib/libavutil.57.dylib' (no such file, not in dyld cache)
2024-05-14 14:52:19,297 (utils.py) (Line 93) [DEBUG] : Attempting to load FFmpeg version 4.
2024-05-14 14:52:19,298 (utils.py) (Line 130) [DEBUG] : Failed to load FFmpeg 4 extension.
Traceback (most recent call last):
  File "torchaudio/_extension/utils.py", line 128, in _find_ffmpeg_extension
    return _find_versionsed_ffmpeg_extension(ffmpeg_ver)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "torchaudio/_extension/utils.py", line 113, in _find_versionsed_ffmpeg_extension
    _try_access_avutil(ffmpeg_ver)
  File "torchaudio/_extension/utils.py", line 89, in _try_access_avutil
    torchaudio.lib._torchaudio.find_avutil(libavutil)
RuntimeError: Error in dlopen: dlopen(libavutil.56.dylib, 0x0006): tried: 'libavutil.56.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibavutil.56.dylib' (no such file), '/Applications/Demucs-GUI.app/Contents/Frameworks/torch/lib/../../libavutil.56.dylib' (no such file), '/usr/lib/libavutil.56.dylib' (no such file, not in dyld cache), 'libavutil.56.dylib' (no such file), '/usr/local/lib/libavutil.56.dylib' (no such file), '/usr/lib/libavutil.56.dylib' (no such file, not in dyld cache)
2024-05-14 14:52:19,299 (__init__.py) (Line 96) [DEBUG] : Failed to initialize ffmpeg bindings
Traceback (most recent call last):
  File "torchaudio/_extension/__init__.py", line 89, in <module>
    _FFMPEG_EXT = _init_ffmpeg()
                  ^^^^^^^^^^^^^^
  File "torchaudio/_extension/utils.py", line 162, in _init_ffmpeg
    ext = _find_ffmpeg_extension(ffmpeg_vers, show_error)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "torchaudio/_extension/utils.py", line 132, in _find_ffmpeg_extension
    raise ImportError(f"Failed to intialize FFmpeg extension. Tried versions: {ffmpeg_vers}")
ImportError: Failed to intialize FFmpeg extension. Tried versions: ['6', '5', '4']
PyInstaller/loader/pyimod02_importers.py:419: UserWarning: TorchAudio's global backend is now deprecated. Please enable distpatcher by setting `TORCHAUDIO_USE_BACKEND_DISPATCHER=1`, and specify backend when calling load/info/save function.
2024-05-14 14:52:19,398 (audio.py) (Line 34) [INFO] : Soundfile version: 0.12.1
2024-05-14 14:52:19,399 (audio.py) (Line 35) [INFO] : libsndfile version: 1.2.0
2024-05-14 14:52:19,399 (audio.py) (Line 36) [INFO] : SoXR version: 0.3.7
2024-05-14 14:52:19,399 (audio.py) (Line 37) [INFO] : libsoxr version: 0.1.3-7-gacc0dac
2024-05-14 14:52:19,400 (separator.py) (Line 88) [INFO] : Demucs version: 4.1.0a3
2024-05-14 14:52:19,400 (separator.py) (Line 89) [INFO] : PyTorch version: 2.1.2
2024-05-14 14:52:20,486 (audio.py) (Line 49) [INFO] : ffmpeg -version output:
ffmpeg version n6.0-tessus Copyright (c) 2000-2023 the FFmpeg developers
built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --extra-cflags=-I/opt/homebrew/include --extra-ldflags=-L/opt/homebrew/lib --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-libcaca --enable-version3 --disable-ffplay --enable-ffmpeg --enable-ffprobe
libavutil      58.  2.100 / 58.  2.100
libavcodec     60.  3.100 / 60.  3.100
libavformat    60.  3.100 / 60.  3.100
libavdevice    60.  1.100 / 60.  1.100
libavfilter     9.  3.100 /  9.  3.100
libswscale      7.  1.100 /  7.  1.100
libswresample   4. 10.100 /  4. 10.100
libpostproc    57.  1.100 / 57.  1.100

2024-05-14 14:52:20,513 (audio.py) (Line 54) [INFO] : Using ffmpeg from /Applications/Demucs-GUI.app/Contents/Frameworks/ffmpeg/ffmpeg
2024-05-14 14:52:20,514 (audio.py) (Line 55) [INFO] : ffprobe -version output:
ffprobe version n6.0-tessus Copyright (c) 2007-2023 the FFmpeg developers
built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --extra-cflags=-I/opt/homebrew/include --extra-ldflags=-L/opt/homebrew/lib --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-libcaca --enable-version3 --disable-ffplay --enable-ffmpeg --enable-ffprobe
libavutil      58.  2.100 / 58.  2.100
libavcodec     60.  3.100 / 60.  3.100
libavformat    60.  3.100 / 60.  3.100
libavdevice    60.  1.100 / 60.  1.100
libavfilter     9.  3.100 /  9.  3.100
libswscale      7.  1.100 /  7.  1.100
libswresample   4. 10.100 /  4. 10.100
libpostproc    57.  1.100 / 57.  1.100

2024-05-14 14:52:21,517 (shared.py) (Line 371) [INFO] : [1] Thread starter (separator.py) ends
2024-05-14 14:52:21,558 (shared.py) (Line 360) [INFO] : [2] Thread checkUpdate (shared.py) starts
2024-05-14 14:52:21,563 (shared.py) (Line 387) [INFO] : Checking for updates...
2024-05-14 14:52:22,318 (shared.py) (Line 390) [INFO] : Latest version: 1.2b2
2024-05-14 14:52:22,321 (shared.py) (Line 371) [INFO] : [2] Thread checkUpdate (shared.py) ends
2024-05-14 14:52:45,827 (shared.py) (Line 360) [INFO] : [3] Thread loadModel (GuiMain.py) starts
2024-05-14 14:52:45,840 (GuiMain.py) (Line 650) [INFO] : Loading model mdx_extra_q from repo "remote"
�[1mFATAL:�[0m Trying to use DiffQ, but diffq is not installed.
On Windows run: python.exe -m pip install diffq 
On Linux/Mac, run: python3 -m pip install diffq
2024-05-14 14:52:45,882 (shared.py) (Line 371) [INFO] : [3] Thread loadModel (GuiMain.py) ends

Sometimes packed application on Windows can't start FFMpeg

happen

Traceback (most recent call last):
  File "audio.py", line 46, in checkFFMpeg
  File "shared.py", line 125, in Popen
  File "subprocess.py", line 992, in __init__
  File "subprocess.py", line 1365, in _get_handles
  File "subprocess.py", line 1416, in _make_inheritable
OSError: [WinError 50]

What is the platform you are using?

Windows

log

No response

Accelerate with AMD instructions should require using git

Issue

Now that 1.1 requires getting submodules with git, the instructions there that say you can download the zip do not work. These instructions are not present in the other install paths, so I think it should be removed here.

This looks to also be a problem with the intel instructions.

I'm new to using this (awesome) project, but could do a text change PR if needed :)

What is the platform you are using?

Linux

log

No response

macOS ARM build crashes

I installed Demucs-GUI_1.1a2_macOS_ARM64.dmg on my MacBook Pro with M1 Pro CPU. (16GB RAM and MacOS 14.3.) It crashes on launch. I would be happy to send you the crash log, but I'd rather not post it publicly for fear that there may be sensitive info in it.

Here's a piece of it which might be helpful.
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: Demucs-GUI [57940]

Originally posted by @chriscjcj in #19 (reply in thread)

Demucs already installed

I have Demucs 3 installed and operating using the command line in Anaconda prompt. I would just like to install the GUI without reinstalling Demucs. Is that possible? I don't want to hose up my current CPU only installation.

A bug regarding overlap/shifts?

I was trying to Demucs a very short song (like 30 seconds) and I believe my PC specs are more than enough to handle it (3070, 64GB RAM)

So I set the overlap to 0.60 and shifts to the maximum 20 for the sake of it, but when I ran the conversion it outputted silent tracks. So I lowered the values and ended up at overlap 0.30 and shifts 10 where it started actually working (dunno if that's the maximum, haven't experimented a lot) but I guess those values are still too much since the "others" stem was too thinned out (it didn't have much sound compared to the one with default values)

Also a side thing, would be nice if we could just use our keyboard to type out the numbers, currently it looks like it's not supported?

Bug: (the bug you found) : Program hangs at launch on splashscreen

happen

This is for version 1.2b1
The program opens and closes a dos box pop up window at launch.
Splashscreen shows "starting..." and never continues.
GPU is a ZOTAC branded RTX3060 12GB
Windows 10 Home.
It was working on the previous release

What is the platform you are using?

Windows

log

[20240511_222925_demucs_gui_log.log](https://github.com/CarlGao4/Demucs-Gui/files/15286745/20240511_222925_demucs_gui_log.log)
e.

Allowing retry saving output audio when saving failed

If an output write failed, the whole separation would be performed again, which is very time-consuming. Add an option to pause the separation process immediately when writing fails so user can change writing parameters and try saving again and again.

More variables by default or ability to create custom variables

Discussed in #72

Originally posted by azagthoth1 June 1, 2024
Hello. As far as I understood, the variables when saving files are {model}, {track}, {stem}, and {ext}. Would it be possible for you guys to add more variables or create something to allow us to create variables ourselves?

I'd really like an {album} variable, so I'd add a whole folder (i.e. an album) and have it wholly separated in my Backing Tracks folder, instead of having many folders like 01 - First Track, 02 - Second Track, you get it.

I don't know if I'm being clear enough, but that's the gist of it. New sets of variables. {artist} or {album artist} would be a nice one too. My music library does not lack metadata, so all of my files have variables like artist, genre, album title, year, etc. I guess this would be a way of putting them to use too. It's all about making things simpler. Just adding album folders and have their stems sorted by album title (or whatever) in the output path, instead of few default options.

I'd appreciate it.

Linux

New feature required

Your requirement.

macOS build cannot detect FFMpeg

Question

Thank you very much for creating a GUI for the Demucs code! I am sorry to say that I'm unable to run it successfully. I am on a late 2019 Corei9 iMac, MacOS 12.5. On launch, the GUI window shows two messages about FFMPEG and CUDA missing. When selecting "System Information" from Demucs-GUI Info menu, the following is shown:

Python version: 3.9.12 (main, Jun 1 2022, 06:39:55)
[Clang 12.0.0 ]
System: macOS-10.16-x86_64-i386-64bit
CPU: i386
Memory: 73728.000MB
PyTorch version: 1.11.0
NumPy version: 1.22.4
SoundFile version: 0.10.3
libsndfile version: 1.1.0
CUDA available: False
Demucs version: 3.0.4
FFMpeg available: False
Demucs-GUI version: 0.1

I am certain that I have FFMpeg installed....
% ffmpeg -version
ffmpeg version 5.1 Copyright (c) 2000-2022 the FFmpeg developers
built with Apple clang version 13.1.6 (clang-1316.0.21.2.5)
configuration: --prefix=/usr/local/Cellar/ffmpeg/5.1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100

I'm less certain about cuda. I'm grateful for any advice.
Best wishes and many thanks for your work on this.

Screen Shot 2022-08-09 at 9 34 03 PM

Screen Shot 2022-08-09 at 9 34 02 PM

System Information 2022-08-09 21-38-59

Demucs-GUI_1.0a1_cuda.7z doesn't dun.

happen

Previous version used to work!
I open Demucs-GUI.exe, there's a terminal window for around 3-10 seconds, then it closes.

rtx 3060, ryzen 5600X, cuda toolkit (not in pip) installed, latest drivers.

Do I need to install anything else? The pip cuda stuff?

What is the platform you are using?

Windows

log

No response

Bug: Status failed

happen

  1. I was on version 0.1 for a while. Everything was working
  2. I updated to version 1.0
  3. I drag and drop an mp3 file into the queue and press "start separation" using the default settings. The status of the file changes to "failed".

I'm on a Mac Book Pro M1 Silicon.

What is the platform you are using?

macOS

log

I've tried to open the log from the menu bar, but nothing happens or opens up.

MKL Version instability

happen

Sometimes the GPU is not recognized at startup, and only the CPU is optional in the device bar
The startup task crashes after selecting the GPU

GPU:A770 16G([Acer])
Driver:31.0.101.5084

What is the platform you are using?

Windows

log

2024-01-01 23:50:46,836 (GuiMain.py) (Line 1412) [INFO] : Python version: 3.11.7 | packaged by conda-forge | (main, Dec 23 2023, 14:27:59) [MSC v.1937 64 bit (AMD64)]
2024-01-01 23:50:46,836 (GuiMain.py) (Line 1413) [INFO] : Demucs GUI version: 1.1a2
2024-01-01 23:50:46,882 (GuiMain.py) (Line 1414) [INFO] : System: Windows-10-10.0.22621-SP0
2024-01-01 23:50:46,882 (GuiMain.py) (Line 1415) [INFO] : Architecture: 64bit
2024-01-01 23:50:46,882 (GuiMain.py) (Line 1416) [INFO] : CPU: AMD64 Family 25 Model 33 Stepping 0, AuthenticAMD
2024-01-01 23:50:46,882 (GuiMain.py) (Line 1417) [INFO] : CPU count: 12
2024-01-01 23:50:46,889 (GuiMain.py) (Line 1418) [INFO] : System memory: 34266697728 (31.913GB)
2024-01-01 23:50:46,894 (GuiMain.py) (Line 1421) [INFO] : System free memory: 23235440640 (21.64GB)
2024-01-01 23:50:47,303 (GuiMain.py) (Line 1424) [INFO] : System swap memory: 38654705664 (36GB)
2024-01-01 23:50:47,303 (GuiMain.py) (Line 1435) [INFO] : Using PySide6
2024-01-01 23:50:47,303 (GuiMain.py) (Line 1436) [INFO] : Qt version: 6.6.1
2024-01-01 23:50:47,303 (GuiMain.py) (Line 1437) [INFO] : PySide6 version: 6.6.1
2024-01-01 23:50:47,652 (shared.py) (Line 243) [INFO] : [1] Thread starter (separator.py) starts
2024-01-01 23:50:47,716 (GuiMain.py) (Line 1442) [DEBUG] : Supported styles: windowsvista, Windows, Fusion
2024-01-01 23:50:47,718 (GuiMain.py) (Line 1446) [DEBUG] : Current style: windowsvista
2024-01-01 23:50:52,464 (audio.py) (Line 34) [INFO] : Soundfile version: 0.12.1
2024-01-01 23:50:52,464 (audio.py) (Line 35) [INFO] : libsndfile version: 1.2.0
2024-01-01 23:50:52,464 (audio.py) (Line 36) [INFO] : SoXR version: 0.3.7
2024-01-01 23:50:52,464 (audio.py) (Line 37) [INFO] : libsoxr version: 0.1.3-7-gacc0dac
2024-01-01 23:50:52,465 (separator.py) (Line 62) [INFO] : Demucs version: 4.1.0a2
2024-01-01 23:50:52,465 (separator.py) (Line 63) [INFO] : PyTorch version: 2.1.0a0+cxx11.abi
2024-01-01 23:50:53,507 (audio.py) (Line 49) [INFO] : ffmpeg -version output:
ffmpeg version 6.0-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-shared --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil      58.  2.100 / 58.  2.100
libavcodec     60.  3.100 / 60.  3.100
libavformat    60.  3.100 / 60.  3.100
libavdevice    60.  1.100 / 60.  1.100
libavfilter     9.  3.100 /  9.  3.100
libswscale      7.  1.100 /  7.  1.100
libswresample   4. 10.100 /  4. 10.100
libpostproc    57.  1.100 / 57.  1.100

2024-01-01 23:50:53,550 (audio.py) (Line 54) [INFO] : Using ffmpeg from E:\Downloads\Demucs-GUI_1.1a2_mkl\ffmpeg\ffmpeg.EXE
2024-01-01 23:50:53,551 (audio.py) (Line 55) [INFO] : ffprobe -version output:
ffprobe version 6.0-full_build-www.gyan.dev Copyright (c) 2007-2023 the FFmpeg developers
built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-shared --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil      58.  2.100 / 58.  2.100
libavcodec     60.  3.100 / 60.  3.100
libavformat    60.  3.100 / 60.  3.100
libavdevice    60.  1.100 / 60.  1.100
libavfilter     9.  3.100 /  9.  3.100
libswscale      7.  1.100 /  7.  1.100
libswresample   4. 10.100 /  4. 10.100
libpostproc    57.  1.100 / 57.  1.100

2024-01-01 23:50:54,551 (shared.py) (Line 254) [INFO] : [1] Thread starter (separator.py) ends
2024-01-01 23:50:54,554 (shared.py) (Line 243) [INFO] : [2] Thread checkUpdate (shared.py) starts
2024-01-01 23:50:54,564 (shared.py) (Line 270) [INFO] : Checking for updates...
2024-01-01 23:50:56,460 (shared.py) (Line 273) [INFO] : Latest version: 1.1a2
2024-01-01 23:50:56,461 (shared.py) (Line 254) [INFO] : [2] Thread checkUpdate (shared.py) ends
2024-01-01 23:51:32,988 (shared.py) (Line 243) [INFO] : [3] Thread loadModel (GuiMain.py) starts
2024-01-01 23:51:32,991 (GuiMain.py) (Line 505) [INFO] : Loading model htdemucs from repo E:\Downloads\Demucs-GUI_1.1a2_mkl\pretrained
2024-01-01 23:51:33,363 (GuiMain.py) (Line 527) [INFO] : Model loaded within 0.3696s
2024-01-01 23:51:33,371 (GuiMain.py) (Line 528) [INFO] : Model: htdemucs
Repo: E:\Downloads\Demucs-GUI_1.1a2_mkl\pretrained
Type: Bag of models
Audio channels: 2
Sample rate: 44100
Sources: drums, bass, other, vocals

Model 0:
 Type: HTDemucs
 Default segment: 7.8
 Weight: [1.0, 1.0, 1.0, 1.0]
2024-01-01 23:51:33,373 (shared.py) (Line 254) [INFO] : [3] Thread loadModel (GuiMain.py) ends
2024-01-01 23:51:45,674 (shared.py) (Line 243) [INFO] : [4] Thread separate (separator.py) starts
2024-01-01 23:51:45,674 (separator.py) (Line 410) [INFO] : Start separating audio: 1.mp3
2024-01-01 23:51:45,674 (separator.py) (Line 411) [INFO] : Parameters: segment=7.80 overlap=0.25 shifts=0
2024-01-01 23:51:45,674 (separator.py) (Line 412) [INFO] : Device: xpu:0
2024-01-01 23:51:45,675 (audio.py) (Line 66) [DEBUG] : Reading audio with soundfile: E:\Downloads\Demucs-GUI_1.1a2_mkl\1.mp3
2024-01-01 23:51:46,073 (audio.py) (Line 82) [INFO] : Read audio E:\Downloads\Demucs-GUI_1.1a2_mkl\1.mp3: samplerate=48000 shape=(24686592, 2)
2024-01-01 23:51:46,073 (audio.py) (Line 85) [INFO] : Samplerate 48000 doesn't match target 44100, resampling with SoXR
2024-01-01 23:51:47,387 (separator.py) (Line 442) [INFO] : Running separation...

Bug: Save Path keeps being altered from the default to a previously saved file

happen

  1. Open DemucsGUI and pick a file to split, and complete the process.
  2. Restart the program and select another model (or the original). The Save Path is now the path of one of theprevious stems:

image

Each time I have to manually set it back to the default of separated/{model}/{track}/{stem}.{ext} (Which is at the bottom of the list).

What is the platform you are using?

Windows

log

No response

Add mixer (two-stem separation)

Add two-stem separation: This is important, I think. As of now, the program only converts using the standard 4 stems (vocals, bass, drums, other).

Can't install demucs>=4.1.0a2 which hasn't been released

happen

I got an error running the pip command recommended for mac:

(base) sveinbjorn@svenbook-pro-3 Demucs-Gui % pip install -r requirements.txt

ERROR: Could not find a version that satisfies the requirement demucs>=4.1.0a2 (from versions: 0.0.0, 0.0.1, 0.0.2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 4.0.0, 4.0.1)
ERROR: No matching distribution found for demucs>=4.1.0a2

Conda similarily can't find 4.1.0a2 of demucs (and it can't find soundfile or soxr either)

I'm such a noob that I just run verbose, I just do what the guide says. Apologies if I'm missing something obvious.
I am assuming that the a2 release has been removed?
While not strictly neccessary, it'd be instructive if someone might tell me how I could get past this myself.

I don't know if this is technically a bug or if it's called something else. All enlightenment is welcomed.

(m1 max, MacOS Sonoma 14.0)

What is the platform you are using?

macOS

log

Since the app didn't install, here's the whole terminal log for this, it's all I've got.

(base) user@machine Demucs-Gui % pip install -r requirements.txt

ERROR: Could not find a version that satisfies the requirement demucs>=4.1.0a2 (from versions: 0.0.0, 0.0.1, 0.0.2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 4.0.0, 4.0.1)
ERROR: No matching distribution found for demucs>=4.1.0a2
(base) user@machine Demucs-Gui % ls
GUI fonts requirements.txt
LICENSE history.md requirements_cuda.txt
README.md icon usage.md
(base) user@machine Demucs-Gui % conda install --yes --file requirements.txt
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): / conda install --yes --file requirements.tdone
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  • soundfile[version='>=0.9.0']
  • demucs[version='>=4.1.0a2']
  • soxr[version='>=0.3.6']

Current channels:

To search for alternate channels that may provide the conda package you're
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

Bug: Suddenly non functional and shows 0mb gpumem

happen

Model loads
When choosing file to separate

Error message
https://i.imgur.com/NpL14iW.png

What is the platform you are using?

Windows

log

2023-07-16 22:06:13,690 (GuiMain.py) (Line 146) [INFO] : Python version: 3.10.5 | packaged by conda-forge | (main, Jun 14 2022, 06:57:50) [MSC v.1929 64 bit (AMD64)]
2023-07-16 22:06:13,780 (GuiMain.py) (Line 147) [INFO] : System: Windows-10-10.0.19045-SP0
2023-07-16 22:06:13,780 (GuiMain.py) (Line 148) [INFO] : Demucs GUI version: 0.1
2023-07-16 22:06:13,780 (GuiMain.py) (Line 149) [INFO] : Architecture: 64bit
2023-07-16 22:06:13,781 (GuiMain.py) (Line 150) [INFO] : CPU: AMD64 Family 23 Model 96 Stepping 1, AuthenticAMD
2023-07-16 22:06:13,781 (GuiMain.py) (Line 151) [INFO] : CPU count: 12
2023-07-16 22:06:13,781 (GuiMain.py) (Line 152) [INFO] : System memory: 16513302528 (15.379GB)
2023-07-16 22:06:13,781 (GuiMain.py) (Line 153) [INFO] : System free memory: 10677776384 (9.944GB)
2023-07-16 22:06:13,781 (GuiMain.py) (Line 154) [INFO] : System swap memory: 15728640000 (14.648GB)
2023-07-16 22:06:13,781 (GuiMain.py) (Line 163) [INFO] : Loading core
2023-07-16 22:06:14,544 (GuiMain.py) (Line 176) [INFO] : Core loaded
2023-07-16 22:06:14,544 (GuiMain.py) (Line 177) [INFO] : SoundFile version: 0.9.0
2023-07-16 22:06:14,544 (GuiMain.py) (Line 178) [INFO] : libsndfile version: 1.1.0
2023-07-16 22:06:14,544 (GuiMain.py) (Line 179) [INFO] : Torch version: 1.11.0+cu113
2023-07-16 22:06:14,544 (GuiMain.py) (Line 180) [INFO] : NumPy version: 1.22.4
2023-07-16 22:06:14,544 (GuiMain.py) (Line 181) [INFO] : Demucs version: 3.0.4
2023-07-16 22:06:14,545 (GuiMain.py) (Line 201) [INFO] : CUDA available
2023-07-16 22:06:14,545 (GuiMain.py) (Line 202) [INFO] : CUDA devices: 1
2023-07-16 22:06:14,545 (GuiMain.py) (Line 207) [INFO] : CUDA 1 (NVIDIA GeForce RTX 3060 Ti) 8589410304 (8191 MiB)
2023-07-16 22:06:14,546 (GuiMain.py) (Line 227) [INFO] : Default using CUDA 1
2023-07-16 22:06:15,449 (GuiMain.py) (Line 257) [ERROR] : Traceback (most recent call last):
File "GuiMain.py", line 248, in Start
IndexError: list index out of range

2023-07-16 22:06:15,449 (GuiMain.py) (Line 258) [INFO] : FFMpeg is not available
2023-07-16 22:06:16,254 (GuiMain.py) (Line 435) [DEBUG] : Started in 1.240s
2023-07-16 22:06:16,280 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3088MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:17,282 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:18,287 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:19,287 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:20,291 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:21,292 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:22,293 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:23,292 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:24,300 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:25,300 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:26,300 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:27,307 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:28,307 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:29,308 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:30,311 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:31,323 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:32,324 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:33,339 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:34,342 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:35,355 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:36,355 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:37,369 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:38,371 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:39,384 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:40,387 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:41,388 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:42,389 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:43,392 (GuiMain.py) (Line 515) [DEBUG] : MEM:216MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:44,400 (GuiMain.py) (Line 515) [DEBUG] : MEM:217MB SWAP:3089MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:45,403 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:46,414 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:47,416 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:48,419 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:49,419 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:50,425 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:51,425 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:52,432 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:53,436 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:54,447 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:55,449 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:56,452 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:57,463 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:58,464 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:06:59,464 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:00,469 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:01,470 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:02,475 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:03,479 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:04,481 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:05,485 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:06,493 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:07,495 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:08,497 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:09,506 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:10,511 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:11,511 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:12,511 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:13,513 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:14,521 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:15,527 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:16,541 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:17,540 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:18,541 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:19,541 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:20,542 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:21,541 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:22,555 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:23,557 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:24,558 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:25,570 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:26,572 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:27,573 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:28,574 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:29,578 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:30,588 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:31,590 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:32,591 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:33,605 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:34,606 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:35,614 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:36,618 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:2% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:37,619 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:38,621 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:39,624 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:40,627 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:41,627 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:42,637 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:43,638 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:44,643 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:45,650 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:46,652 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:47,652 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:48,652 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:49,667 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:50,667 (GuiMain.py) (Line 515) [DEBUG] : MEM:211MB SWAP:3095MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:51,588 (GuiMain.py) (Line 435) [DEBUG] : Loading model...
2023-07-16 22:07:51,589 (GuiMain.py) (Line 104) [INFO] : Load model (mdx_extra_q) from (C:\Programes\Demucs-GUI_0.1_CUDA\pretrained)
2023-07-16 22:07:51,681 (GuiMain.py) (Line 515) [DEBUG] : MEM:251MB SWAP:3094MB CPU:8% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:52,682 (GuiMain.py) (Line 515) [DEBUG] : MEM:646MB SWAP:3094MB CPU:49% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:53,683 (GuiMain.py) (Line 515) [DEBUG] : MEM:830MB SWAP:3106MB CPU:8% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:54,688 (GuiMain.py) (Line 515) [DEBUG] : MEM:1070MB SWAP:3119MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:55,701 (GuiMain.py) (Line 515) [DEBUG] : MEM:1259MB SWAP:3096MB CPU:50% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:56,706 (GuiMain.py) (Line 515) [DEBUG] : MEM:1336MB SWAP:3103MB CPU:31% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:57,716 (GuiMain.py) (Line 515) [DEBUG] : MEM:1626MB SWAP:3097MB CPU:50% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:58,015 (GuiMain.py) (Line 121) [INFO] : Model loaded
2023-07-16 22:07:58,016 (GuiMain.py) (Line 435) [DEBUG] : Loading used 6.430s
2023-07-16 22:07:58,016 (GuiMain.py) (Line 125) [INFO] : Model info: sr=44100, channels=48, segment=44
2023-07-16 22:07:58,717 (GuiMain.py) (Line 515) [DEBUG] : MEM:1505MB SWAP:3096MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:07:59,724 (GuiMain.py) (Line 515) [DEBUG] : MEM:1505MB SWAP:3096MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:00,728 (GuiMain.py) (Line 515) [DEBUG] : MEM:1505MB SWAP:3096MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:01,732 (GuiMain.py) (Line 515) [DEBUG] : MEM:1505MB SWAP:3096MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:02,736 (GuiMain.py) (Line 515) [DEBUG] : MEM:1505MB SWAP:3096MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:03,740 (GuiMain.py) (Line 515) [DEBUG] : MEM:1505MB SWAP:3096MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:04,744 (GuiMain.py) (Line 515) [DEBUG] : MEM:1505MB SWAP:3096MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:05,745 (GuiMain.py) (Line 515) [DEBUG] : MEM:1505MB SWAP:3096MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:06,757 (GuiMain.py) (Line 515) [DEBUG] : MEM:1505MB SWAP:3096MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:07,762 (GuiMain.py) (Line 515) [DEBUG] : MEM:1505MB SWAP:3096MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:08,765 (GuiMain.py) (Line 515) [DEBUG] : MEM:1505MB SWAP:3096MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:09,772 (GuiMain.py) (Line 515) [DEBUG] : MEM:1505MB SWAP:3096MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:10,776 (GuiMain.py) (Line 515) [DEBUG] : MEM:1505MB SWAP:3096MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:11,776 (GuiMain.py) (Line 515) [DEBUG] : MEM:1505MB SWAP:3096MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:12,777 (GuiMain.py) (Line 515) [DEBUG] : MEM:1505MB SWAP:3096MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:13,790 (GuiMain.py) (Line 515) [DEBUG] : MEM:1505MB SWAP:3096MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:14,792 (GuiMain.py) (Line 515) [DEBUG] : MEM:1505MB SWAP:3096MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:15,794 (GuiMain.py) (Line 515) [DEBUG] : MEM:1533MB SWAP:3081MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:16,801 (GuiMain.py) (Line 515) [DEBUG] : MEM:1534MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:17,813 (GuiMain.py) (Line 515) [DEBUG] : MEM:1534MB SWAP:3079MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:18,135 (GuiMain.py) (Line 274) [INFO] : C:/Users/M/Music/Destiny Linus.mp3 chosen
2023-07-16 22:08:18,139 (GuiMain.py) (Line 285) [INFO] : Split=44, overlap=0.25, shifts=0, device=CUDA:0
2023-07-16 22:08:18,141 (GuiMain.py) (Line 435) [DEBUG] : Loading file
2023-07-16 22:08:18,821 (GuiMain.py) (Line 515) [DEBUG] : MEM:1648MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:19,822 (GuiMain.py) (Line 515) [DEBUG] : MEM:1648MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:20,822 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:21,823 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:22,824 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:23,824 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:24,826 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:25,826 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:26,841 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:27,854 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:28,856 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:29,872 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:30,884 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:31,887 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:32,901 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:33,904 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:34,918 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:35,932 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:36,933 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:37,948 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:38,963 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:39,980 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:40,993 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:42,011 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:43,027 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:44,043 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:45,059 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:46,061 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:47,073 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:48,075 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:49,078 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:50,088 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:51,104 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:52,106 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:53,123 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:54,135 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:55,135 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:56,136 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:57,154 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:58,166 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:08:59,183 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:00,185 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:01,200 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:02,212 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:03,213 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:04,213 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:05,214 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:06,229 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:07,231 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:08,246 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:09,261 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:10,275 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:11,278 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:12,292 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:13,307 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:14,310 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:15,322 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:16,341 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:17,355 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:18,355 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:19,356 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:20,369 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:21,370 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:22,371 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:23,372 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB
2023-07-16 22:09:24,386 (GuiMain.py) (Line 515) [DEBUG] : MEM:1649MB SWAP:3080MB CPU:0% ALLMEM:15748MB GPUMEM:0MB

Bug: Strangely high CPU usage

happen

  1. Having over 1000 audio in queue
  2. Start separation
  3. If there is over 10000 audio files in queue, then the program is completely CPU bounded. (Super slow sep and very low GPU usage - about 1%)
  4. version 1.1a2 and 1.1b2

It happens during the whole separation process (not just loading and saving phrase)
It' very likely caused by the gui
I am highly suspicious on the queue management as the performance get worse when queue is larger - the degradation is almost linear
Issue

What is the platform you are using?

Windows

log

2024-03-15 09:57:25,467 (GuiMain.py) (Line 1729) [INFO] : Python version: 3.11.6 | packaged by conda-forge | (main, Oct  3 2023, 10:29:11) [MSC v.1935 64 bit (AMD64)]
2024-03-15 09:57:25,467 (GuiMain.py) (Line 1730) [INFO] : Demucs GUI version: 1.1b2
2024-03-15 09:57:25,494 (GuiMain.py) (Line 1731) [INFO] : System: Windows-10-10.0.19045-SP0
2024-03-15 09:57:25,494 (GuiMain.py) (Line 1732) [INFO] : Architecture: 64bit
2024-03-15 09:57:25,494 (GuiMain.py) (Line 1733) [INFO] : CPU: AMD64 Family 25 Model 33 Stepping 0, AuthenticAMD
2024-03-15 09:57:25,494 (GuiMain.py) (Line 1734) [INFO] : CPU count: 24
2024-03-15 09:57:25,508 (GuiMain.py) (Line 1735) [INFO] : System memory: 34239574016 (31.888GB)
2024-03-15 09:57:25,510 (GuiMain.py) (Line 1738) [INFO] : System free memory: 29271797760 (27.262GB)
2024-03-15 09:57:25,607 (GuiMain.py) (Line 1741) [INFO] : System swap memory: 5100273664 (4.75GB)
2024-03-15 09:57:25,686 (find_device_win.py) (Line 111) [INFO] : Found GPU: NVIDIA GeForce RTX 3090 (10DE:2204)
2024-03-15 09:57:25,686 (GuiMain.py) (Line 1755) [INFO] : Using PySide6
2024-03-15 09:57:25,686 (GuiMain.py) (Line 1756) [INFO] : Qt version: 6.5.3
2024-03-15 09:57:25,686 (GuiMain.py) (Line 1757) [INFO] : PySide6 version: 6.5.3
2024-03-15 09:57:25,719 (shared.py) (Line 289) [INFO] : [1] Thread starter (separator.py) starts
2024-03-15 09:57:25,754 (GuiMain.py) (Line 1762) [DEBUG] : Supported styles: windowsvista, Windows, Fusion
2024-03-15 09:57:25,755 (GuiMain.py) (Line 1766) [DEBUG] : Current style: windowsvista
2024-03-15 09:57:26,846 (separator.py) (Line 64) [INFO] : Intel Extension for PyTorch is not installed
2024-03-15 09:57:26,925 (audio.py) (Line 34) [INFO] : Soundfile version: 0.12.1
2024-03-15 09:57:26,926 (audio.py) (Line 35) [INFO] : libsndfile version: 1.2.0
2024-03-15 09:57:26,926 (audio.py) (Line 36) [INFO] : SoXR version: 0.3.7
2024-03-15 09:57:26,926 (audio.py) (Line 37) [INFO] : libsoxr version: 0.1.3-7-gacc0dac
2024-03-15 09:57:26,926 (separator.py) (Line 85) [INFO] : Demucs version: 4.1.0a2
2024-03-15 09:57:26,926 (separator.py) (Line 86) [INFO] : PyTorch version: 2.0.1+cu118
2024-03-15 09:57:26,926 (separator.py) (Line 95) [INFO] : CUDA Info: _CudaDeviceProperties(name='NVIDIA GeForce RTX 3090', major=8, minor=6, total_memory=24575MB, multi_processor_count=82)
2024-03-15 09:57:27,953 (audio.py) (Line 49) [INFO] : ffmpeg -version output:
ffmpeg version 6.1.1-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers

built with gcc 12.2.0 (Rev10, Built by MSYS2 project)

configuration: --enable-gpl --enable-version3 --enable-shared --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint

libavutil      58. 29.100 / 58. 29.100

libavcodec     60. 31.102 / 60. 31.102

libavformat    60. 16.100 / 60. 16.100

libavdevice    60.  3.100 / 60.  3.100

libavfilter     9. 12.100 /  9. 12.100

libswscale      7.  5.100 /  7.  5.100

libswresample   4. 12.100 /  4. 12.100

libpostproc    57.  3.100 / 57.  3.100


2024-03-15 09:57:27,980 (audio.py) (Line 54) [INFO] : Using ffmpeg from D:\Desktop\Demucs-GUI_1.1b2_cuda\ffmpeg\ffmpeg.EXE
2024-03-15 09:57:27,980 (audio.py) (Line 55) [INFO] : ffprobe -version output:
ffprobe version 6.1.1-full_build-www.gyan.dev Copyright (c) 2007-2023 the FFmpeg developers

built with gcc 12.2.0 (Rev10, Built by MSYS2 project)

configuration: --enable-gpl --enable-version3 --enable-shared --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint

libavutil      58. 29.100 / 58. 29.100

libavcodec     60. 31.102 / 60. 31.102

libavformat    60. 16.100 / 60. 16.100

libavdevice    60.  3.100 / 60.  3.100

libavfilter     9. 12.100 /  9. 12.100

libswscale      7.  5.100 /  7.  5.100

libswresample   4. 12.100 /  4. 12.100

libpostproc    57.  3.100 / 57.  3.100


2024-03-15 09:57:28,980 (shared.py) (Line 300) [INFO] : [1] Thread starter (separator.py) ends
2024-03-15 09:57:28,983 (shared.py) (Line 289) [INFO] : [2] Thread checkUpdate (shared.py) starts
2024-03-15 09:57:28,988 (shared.py) (Line 316) [INFO] : Checking for updates...
2024-03-15 09:57:30,922 (shared.py) (Line 289) [INFO] : [3] Thread loadModel (GuiMain.py) starts
2024-03-15 09:57:30,923 (GuiMain.py) (Line 625) [INFO] : Loading model htdemucs from repo D:\Desktop\Demucs-GUI_1.1b2_cuda\pretrained
2024-03-15 09:57:31,225 (GuiMain.py) (Line 653) [INFO] : Model loaded within 0.2984s
2024-03-15 09:57:31,225 (GuiMain.py) (Line 654) [INFO] : Model: htdemucs
Repo: D:\Desktop\Demucs-GUI_1.1b2_cuda\pretrained
Type: Bag of models
Audio channels: 2
Sample rate: 44100
Sources: drums, bass, other, vocals

Model 0:
 Type: HTDemucs
 Default segment: 7.8
 Weight: [1.0, 1.0, 1.0, 1.0]
2024-03-15 09:57:31,235 (shared.py) (Line 300) [INFO] : [3] Thread loadModel (GuiMain.py) ends
2024-03-15 09:57:31,235 (GuiMain.py) (Line 1234) [INFO] : Preset stem key: ["bass","drums","other","vocals"]
2024-03-15 09:57:31,235 (GuiMain.py) (Line 1386) [INFO] : Adding saved presets: []
2024-03-15 09:57:34,907 (shared.py) (Line 319) [INFO] : Latest version: 1.1b2
2024-03-15 09:57:34,907 (shared.py) (Line 300) [INFO] : [2] Thread checkUpdate (shared.py) ends
2024-03-15 09:58:42,893 (shared.py) (Line 289) [INFO] : [4] Thread separate (separator.py) starts
2024-03-15 09:58:42,893 (separator.py) (Line 446) [INFO] : Start separating audio: xxx.mp3
2024-03-15 09:58:42,893 (separator.py) (Line 447) [INFO] : Parameters: segment=7.80 overlap=0.25 shifts=0
2024-03-15 09:58:42,893 (separator.py) (Line 448) [INFO] : Device: cuda:0
2024-03-15 09:58:42,893 (audio.py) (Line 66) [DEBUG] : Reading audio with soundfile: D:\Desktop\data\xxx.mp3
2024-03-15 09:58:42,948 (audio.py) (Line 82) [INFO] : Read audio D:\Desktop\data\xxx.mp3: samplerate=44100 shape=(3764224, 2)
2024-03-15 09:58:42,952 (separator.py) (Line 478) [INFO] : Running separation...
2024-03-15 09:58:47,139 (separator.py) (Line 503) [INFO] : Saving separated audio...
2024-03-15 09:58:47,140 (shared.py) (Line 289) [INFO] : [5] Thread save (GuiMain.py) starts
2024-03-15 09:58:47,140 (shared.py) (Line 300) [INFO] : [4] Thread separate (separator.py) ends
2024-03-15 09:58:47,141 (GuiMain.py) (Line 1506) [INFO] : Mixing stem vocals


2024-03-15 09:58:47,204 (shared.py) (Line 205) [DEBUG] : (save) Set history ('save_location',) to OrderedSet([
3000 items here
3000 items here
3000 items here
'separated/vocals/053.flac', 'separated/vocals/052.flac', 'separated/vocals/051.flac', 'separated/vocals/050.flac', 
'separated/vocals/049.flac', 'separated/vocals/048.flac', 'separated/vocals/047.flac', 'separated/vocals/046.flac', 'separated/vocals/045.flac', 'separated/vocals/044.flac', 'separated/vocals/043.flac', 'separated/vocals/042.flac', 'separated/vocals/041.flac', 'separated/vocals/040.flac', 'separated/vocals/039.flac', 'separated/vocals/038.flac', 'separated/vocals/037.flac', 'separated/vocals/036.flac', 'separated/vocals/035.flac', 'separated/vocals/034.flac', 'separated/vocals/033.flac', 'separated/vocals/032.flac', 'separated/vocals/031.flac', 'separated/vocals/030.flac', 'separated/vocals/029.flac', 'separated/vocals/028.flac', 'separated/vocals/027.flac', 'separated/vocals/026.flac', 'separated/vocals/025.flac', 'separated/vocals/024.flac', 'separated/vocals/023.flac', 'separated/vocals/022.flac', 'separated/vocals/021.flac', 'separated/vocals/020.flac', 'separated/vocals/019.flac', 'separated/vocals/018.flac', 'separated/vocals/017.flac', 'separated/vocals/016.flac', 'separated/vocals/015.flac', 'separated/vocals/014.flac', 'separated/vocals/013.flac', 'separated/vocals/012.flac', 'separated/vocals/011.flac', 'separated/vocals/010.flac', 'separated/vocals/009.flac', 'separated/vocals/008.flac', 'separated/vocals/007.flac', 'separated/vocals/006.flac', 'separated/vocals/005.flac', 'separated/vocals/004.flac', 'separated/vocals/003.flac', 'separated/{model}/{track}/{stem}.{ext}'])


2024-03-15 09:58:47,255 (shared.py) (Line 289) [INFO] : [6] Thread separate (separator.py) starts
2024-03-15 09:58:47,255 (separator.py) (Line 446) [INFO] : Start separating audio: xxx.mp3
2024-03-15 09:58:47,255 (separator.py) (Line 447) [INFO] : Parameters: segment=7.80 overlap=0.25 shifts=0
2024-03-15 09:58:47,255 (separator.py) (Line 448) [INFO] : Device: cuda:0
2024-03-15 09:58:47,255 (audio.py) (Line 66) [DEBUG] : Reading audio with soundfile: D:\Desktop\data\xxx.mp3
2024-03-15 09:58:47,429 (audio.py) (Line 129) [INFO] : Saved audio D:\Desktop\data\xxx.flac: shape=torch.Size([2, 3764224])
2024-03-15 09:58:47,430 (shared.py) (Line 300) [INFO] : [5] Thread save (GuiMain.py) ends
2024-03-15 09:58:47,438 (audio.py) (Line 82) [INFO] : Read audio D:\Desktop\data\xxx.mp3: samplerate=44100 shape=(10780672, 2)
2024-03-15 09:58:47,449 (separator.py) (Line 478) [INFO] : Running separation...
2024-03-15 09:58:52,425 (separator.py) (Line 503) [INFO] : Saving separated audio...
2024-03-15 09:58:52,426 (shared.py) (Line 289) [INFO] : [7] Thread save (GuiMain.py) starts
2024-03-15 09:58:52,428 (shared.py) (Line 300) [INFO] : [6] Thread separate (separator.py) ends
2024-03-15 09:58:52,428 (GuiMain.py) (Line 1506) [INFO] : Mixing stem vocals
2024-03-15 09:58:52,429 (shared.py) (Line 289) [INFO] : [8] Thread separate (separator.py) starts
2024-03-15 09:58:52,429 (separator.py) (Line 446) [INFO] : Start separating audio:xxx.mp3
2024-03-15 09:58:52,430 (separator.py) (Line 447) [INFO] : Parameters: segment=7.80 overlap=0.25 shifts=0
2024-03-15 09:58:52,430 (separator.py) (Line 448) [INFO] : Device: cuda:0
2024-03-15 09:58:52,432 (audio.py) (Line 66) [DEBUG] : Reading audio with soundfile: D:\Desktop\data\xxx.mp3


2024-03-15 09:58:52,649 (shared.py) (Line 205) [DEBUG] : (save) Set history ('save_location',) to OrderedSet([
3000 items here
3000 items here
3000 items here
 'separated/vocals/004.flac', 'separated/vocals/003.flac', 'separated/{model}/{track}/{stem}.{ext}'])


2024-03-15 09:58:52,721 (audio.py) (Line 82) [INFO] : Read audio D:\Desktop\data\xxx.mp3: samplerate=44100 shape=(11394048, 2)
2024-03-15 09:58:52,733 (separator.py) (Line 478) [INFO] : Running separation...
2024-03-15 09:58:53,299 (audio.py) (Line 129) [INFO] : Saved audio D:\Desktop\data\xxx.flac: shape=torch.Size([2, 10780672])
2024-03-15 09:58:53,301 (shared.py) (Line 300) [INFO] : [7] Thread save (GuiMain.py) ends
2024-03-15 09:58:58,057 (separator.py) (Line 503) [INFO] : Saving separated audio...
2024-03-15 09:58:58,057 (shared.py) (Line 289) [INFO] : [9] Thread save (GuiMain.py) starts
2024-03-15 09:58:58,063 (shared.py) (Line 300) [INFO] : [8] Thread separate (separator.py) ends
2024-03-15 09:58:58,063 (GuiMain.py) (Line 1506) [INFO] : Mixing stem vocals
2024-03-15 09:58:58,064 (shared.py) (Line 289) [INFO] : [10] Thread separate (separator.py) starts
2024-03-15 09:58:58,073 (separator.py) (Line 446) [INFO] : Start separating audio:xxx.mp3
2024-03-15 09:58:58,074 (separator.py) (Line 447) [INFO] : Parameters: segment=7.80 overlap=0.25 shifts=0
2024-03-15 09:58:58,074 (separator.py) (Line 448) [INFO] : Device: cuda:0
2024-03-15 09:58:58,074 (audio.py) (Line 66) [DEBUG] : Reading audio with soundfile: D:\Desktop\data\xxx.mp3


2024-03-15 09:58:58,305 (shared.py) (Line 205) [DEBUG] : (save) Set history ('save_location',) to OrderedSet([
3000 audio files in this set
3000 audio files in this set
3000 audio files in this set
'separated/vocals/004.flac', 'separated/vocals/003.flac', 'separated/{model}/{track}/{stem}.{ext}'])

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.