CarlGao4 / Demucs-Gui

A GUI for music separation AI demucs
GNU General Public License v3.0
566 stars 41 forks source link

Bug: requirements.txt does not forbid numpy 2.x, but will not run unless using numpy 1.x #83

Closed coolmule0 closed 3 months ago

coolmule0 commented 3 months ago

happen

  1. Cannot run with numpy>=2
  2. Have a system/install environment with numpy 2.x
  3. run pip install -r requirments.txt (which installs 2.1.2+cu118, incompatible with numpy 2)

Get error:

wav_torch = torch.from_numpy(wav).clone().transpose(0, 1)
                ^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Numpy is not available

What is the platform you are using?

Linux

log

No response

CarlGao4 commented 3 months ago

Has added numpy<2 in latest commit