Skip to content

Commit

Permalink
Correction of arguments "prerequisites"
Browse files Browse the repository at this point in the history
  • Loading branch information
Vidalnt committed Sep 29, 2024
1 parent f0e9c59 commit 26790d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pre_compiled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 26790d1

Please sign in to comment.