mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-01-19 10:31:41 +00:00
fix: i18n导致无法启动 & 增加 --noautoopen 参数 (#39)
* optimize: 精简未用到的配置项并在特征提取初步引入mps * add cmd argument: --noautoopen * fix: i18n * fix * fix * add genlocale workflow * add unitest * fix * fix * fix
This commit is contained in:
36
.github/workflows/unitest.yml
vendored
Normal file
36
.github/workflows/unitest.yml
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
name: unitest
|
||||
on: [ push, pull_request ]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.8", "3.9", "3.10"]
|
||||
os: [ubuntu-latest]
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt -y install ffmpeg
|
||||
sudo apt -y install -qq aria2
|
||||
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt -d ./ -o hubert_base.pt
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install --upgrade setuptools
|
||||
python -m pip install --upgrade wheel
|
||||
pip install torch torchvision torchaudio
|
||||
pip install -r requirements.txt
|
||||
- name: Test step 1 & 2
|
||||
run: |
|
||||
mkdir -p logs/mi-test
|
||||
touch logs/mi-test/preprocess.log
|
||||
python trainset_preprocess_pipeline_print.py logs/mute/0_gt_wavs 48000 8 logs/mi-test True
|
||||
touch logs/mi-test/extract_f0_feature.log
|
||||
python extract_f0_print.py logs/mi-test $(nproc) pm
|
||||
python extract_feature_print.py cpu 1 0 0 logs/mi-test
|
||||
Reference in New Issue
Block a user