diff --git a/README.md b/README.md index b93d9dc..2de4373 100644 --- a/README.md +++ b/README.md @@ -47,9 +47,13 @@ poetry install ``` 你也可以通过pip来安装依赖: + +**注意**: `MacOS`下`faiss 1.7.2`版本会导致抛出段错误,请将`requirements.txt`的对应条目改为`faiss-cpu==1.7.0` + ```bash pip install -r requirements.txt ``` + ## 其他预模型准备 RVC需要其他的一些预模型来推理和训练。 diff --git a/README_en.md b/README_en.md index 6fe55e8..8e14e6b 100644 --- a/README_en.md +++ b/README_en.md @@ -40,9 +40,12 @@ poetry install ``` You can also use pip to install the dependencies +**Notice**: `faiss 1.7.2` will raise Segmentation Fault: 11 under `MacOS`, please change corresponding line in `requirements.txt` to `faiss-cpu==1.7.0` + ```bash pip install -r requirements.txt ``` + ## Preparation of other Pre-models RVC requires other pre-models to infer and train. diff --git a/requirements.txt b/requirements.txt index 82c73f4..e00ebda 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ scipy==1.9.3 librosa==0.9.2 llvmlite==0.39.0 fairseq==0.12.2 -faiss-cpu==1.7.0 +faiss-cpu==1.7.2 gradio Cython future>=0.18.3