From 8a650f46435368554e5c08a0530e2db6df3e004f Mon Sep 17 00:00:00 2001 From: wataru Date: Wed, 19 Apr 2023 11:32:31 +0900 Subject: [PATCH] WIP:fix requirement --- server/requirements.txt | 51 +++++++++++++++++------ server/voice_changer/DDSP_SVC/DDSP_SVC.py | 1 - 2 files changed, 38 insertions(+), 14 deletions(-) diff --git a/server/requirements.txt b/server/requirements.txt index 82bd69df..c44a7f79 100644 --- a/server/requirements.txt +++ b/server/requirements.txt @@ -1,19 +1,44 @@ +# uvicorn==0.21.1 +# pyOpenSSL==23.0.0 +# numpy==1.23.5 +# #torch==2.0.0 +# torch==1.13.1 +# resampy==0.4.2 +# matplotlib==3.7.1 +# librosa==0.10.0.post1 +# pyworld==0.3.2 +# python-socketio==5.7.2 +# fastapi==0.94.1 +# onnxruntime-gpu==1.14.1 +# python-multipart==0.0.6 +# fairseq==0.12.2 +# # apt-get update +# # apt-get install -y emacs mlocate wget git curl gcc g++ make unzip +# # wget https://repo.anaconda.com/archive/Anaconda3-2022.10-Linux-x86_64.sh +# # bash Anaconda3-2022.10-Linux-x86_64.sh + + + + uvicorn==0.21.1 -pyOpenSSL==23.0.0 +pyOpenSSL==23.1.1 numpy==1.23.5 -#torch==2.0.0 torch==1.13.1 resampy==0.4.2 -matplotlib==3.7.1 -librosa==0.10.0.post1 -pyworld==0.3.2 -python-socketio==5.7.2 -fastapi==0.94.1 -onnxruntime-gpu==1.14.1 +python-socketio==5.8.0 +fastapi==0.95.1 python-multipart==0.0.6 +onnxruntime-gpu==1.14.1 +pyworld==0.3.3 +scipy==1.10.1 +matplotlib==3.7.1 fairseq==0.12.2 -# apt-get update -# apt-get install -y emacs mlocate wget git curl gcc g++ make unzip -# wget https://repo.anaconda.com/archive/Anaconda3-2022.10-Linux-x86_64.sh -# bash Anaconda3-2022.10-Linux-x86_64.sh - +websockets==11.0.2 +praat-parselmouth==0.4.3 +faiss-cpu==1.7.3 +torchcrepe==0.0.18 +librosa==0.10.0.post1 +gin==0.1.6 +gin_config==0.5.0 +einops==0.6.0 +local_attention==1.8.5 \ No newline at end of file diff --git a/server/voice_changer/DDSP_SVC/DDSP_SVC.py b/server/voice_changer/DDSP_SVC/DDSP_SVC.py index 63bec8be..f2606af1 100644 --- a/server/voice_changer/DDSP_SVC/DDSP_SVC.py +++ b/server/voice_changer/DDSP_SVC/DDSP_SVC.py @@ -81,7 +81,6 @@ class DDSP_SVC: self.args = args self.sampling_rate = args.data.sampling_rate self.hop_size = int(self.args.data.block_size * self.sampling_rate / self.args.data.sampling_rate) - print("-------------------hopsize", self.hop_size) # hubert self.vec_path = self.params["hubert_soft"]