Fix for linux installation

- Updated numpy version to 1.24 or higher
- Removed Dora references
- Update README
This commit is contained in:
Sukhmeet Khalar 2023-12-31 13:25:33 -05:00
parent c975f04885
commit d3278c9ceb
4 changed files with 11 additions and 7 deletions

View File

@ -164,8 +164,12 @@ sudo apt update && sudo apt upgrade
sudo apt-get update
sudo apt install ffmpeg
sudo apt install python3-pip
sudo apt install python3-venv
sudo apt-get -y install python3-tk
pip3 install -r requirements.txt
cd /path/to/UVR
python3 -m venv ./venv
source ./venv/bin/activate
SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True pip3 install -r requirements.txt
python3 UVR.py
```

View File

@ -10,8 +10,6 @@ import logging
from pathlib import Path
import typing as tp
#from dora.log import fatal
import logging
from diffq import DiffQuantizer
@ -177,4 +175,4 @@ def tasnet(pretrained=True, extra=False):
if extra:
name = 'tasnet_extra'
_load_state(name, model)
return model
return model

View File

@ -1,5 +1,8 @@
#!/bin/bash
# Workaround for SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL
export SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True
while read package; do
pip install "$package"
done < requirements.txt
done < requirements.txt

View File

@ -38,5 +38,4 @@ onnxruntime-gpu
onnx2pytorch
SoundFile==0.11.0; sys_platform != 'darwin'
PySoundFile==0.9.0.post1; sys_platform == 'darwin'
Dora==0.0.3
numpy==1.23.5
numpy >= 1.24