From 26790d1c37a6610a1c8cdc7d9a36c784f6f4fa51 Mon Sep 17 00:00:00 2001 From: Vidalnt Date: Sun, 29 Sep 2024 14:38:58 -0500 Subject: [PATCH] Correction of arguments "prerequisites" --- .github/workflows/pre_compiled.yml | 4 ++-- core.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pre_compiled.yml b/.github/workflows/pre_compiled.yml index d9371994c..b2c468e99 100644 --- a/.github/workflows/pre_compiled.yml +++ b/.github/workflows/pre_compiled.yml @@ -23,7 +23,7 @@ jobs: - name: Install dependencies run: | .\run-install.bat - .\env\python.exe core.py "prerequisites" + .\env\python.exe core.py "prerequisites" --models "True" --exe "True" --pretraineds_v1_f0 "False" --pretraineds_v2_f0 "True" --pretraineds_v1_nof0 "False" --pretraineds_v2_nof0 "False" - name: Clean up unnecessary files run: | Remove-Item -Path 'LICENSE', 'run-tensorboard.sh', 'run-install.sh', 'run-applio.sh', 'run-install.bat', 'requirements.txt', '.gitignore', '.github', '.git' -Recurse -Force -ErrorAction SilentlyContinue @@ -91,7 +91,7 @@ jobs: python -m pip install "pip<24.1" python -m pip install -r requirements.txt python -m pip install torch==2.3.1 torchvision torchaudio --upgrade --index-url https://download.pytorch.org/whl/cu121 - python core.py "prerequisites" + python core.py "prerequisites" --models "True" --exe "True" --pretraineds_v1_f0 "False" --pretraineds_v2_f0 "True" --pretraineds_v1_nof0 "False" --pretraineds_v2_nof0 "False" find . -type f -name '*.py[co]' -delete -o -type d -name __pycache__ -delete deactivate rm -f .venv/bin/Activate.ps1 .venv/bin/activate .venv/bin/activate.csh .venv/bin/activate.fish .venv/bin/pip .venv/bin/pip3 .venv/bin/pip3.10 .venv/bin/python .venv/bin/python3 .venv/bin/python3.10 diff --git a/core.py b/core.py index c3cfebf04..b6182c050 100644 --- a/core.py +++ b/core.py @@ -1838,7 +1838,7 @@ def main(): run_prerequisites_script( pretraineds_v1_f0=args.pretraineds_v1_f0, pretraineds_v1_nof0=args.pretraineds_v1_nof0, - pretraineds_v2_f0=args.pretraineds_v1_nof0, + pretraineds_v2_f0=args.pretraineds_v2_f0, pretraineds_v2_nof0=args.pretraineds_v2_nof0, models=args.models, exe=args.exe,