AIGC-Audio / AudioGPT

AudioGPT: Understanding and Generating Speech, Music, Sound, and Talking Head
https://huggingface.co/spaces/AIGC-Audio/AudioGPT
Other
9.89k stars 845 forks source link

Error - requirements.txt - opencv-contrib-python==4.3.0.36 not available #76

Open ZeddBread opened 1 year ago

ZeddBread commented 1 year ago

The requirements.txt (line 37) asks for opencv-contrib-python==4.3.0.36 but since that version has been yanked and not available anymore, it gives me an error:

ERROR: Could not find a version that satisfies the requirement opencv-contrib-python==4.3.0.36
...
ERROR: No matching distribution found for opencv-contrib-python==4.3.0.36

Would it be sufficient to just use the latest opencv-contrib-python?

haliteris commented 1 year ago

In that case, you may receive the latest version: 4.7.0.72, and I believe it will do.

jjnyx commented 11 months ago

After I changed opencv-contrib-python version to the latest one, I get this kind of error:

ERROR: Failed building wheel for numpy Failed to build numpy ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects

Is there anyone who solved this?

knandersen commented 5 days ago

Got the requirements to build using this revised requirements.txt using python 3.9 on a MacBook Air M2 running MacOS 14.2:

--extra-index-url https://download.pytorch.org/whl/cu113
accelerate
addict==2.4.0
aiofiles
albumentations==1.3.0
appdirs==1.4.4
basicsr==1.4.2
beautifulsoup4==4.10.0
Cython==0.29.24
diffusers
einops==0.3.0
espnet
espnet_model_zoo
ffmpeg-python
g2p-en==2.1.0
google==3.0.0
gradio
h5py
imageio==2.9.0
imageio-ffmpeg==0.4.2
invisible-watermark>=0.1.5
jieba
kornia==0.6
langchain==0.0.101
librosa
loguru
miditoolkit==0.1.7
mmcv==1.5.0
mmdet==2.23.0 
mmengine==0.7.2
moviepy==1.0.3
numpy
omegaconf==2.1.1
open_clip_torch==2.0.2
openai
openai-whisper
opencv-contrib-python
praat-parselmouth
prettytable==3.6.0
proglog==0.1.9
pycwt==0.3.0a22
pyloudnorm==0.1.0
pypinyin==0.43.0
pytorch-lightning==1.5.0
pytorch-ssim==0.1
pyworld
resampy==0.2.2
Resemblyzer==0.1.1.dev0
safetensors==0.2.7
sklearn==0.0
soundfile
soupsieve==2.3
streamlit==1.12.1
streamlit-drawable-canvas==0.8.0
tensorboardX==2.4
test-tube>=0.7.5
TextGrid==1.5
timm==0.6.12
torch==1.12.1
torchaudio==0.12.1
torch-fidelity==0.3.0
torchlibrosa
torchmetrics==0.6.0
torchvision==0.13.1
transformers==4.26.1
typing-extensions==4.0.0
uuid==1.30
webdataset==0.2.5
webrtcvad==2.0.10
yapf==0.32.0
git+https://github.com/openai/CLIP.git