Merge branch 'master' into dev

This commit is contained in:
bmaltais 2023-03-04 18:59:33 -05:00 committed by GitHub
commit 3f45448f84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ def caption_images(
return
print(f'GIT captioning files in {train_data_dir}...')
run_cmd = f'{PYTHON} "finetune/make_captions_by_git.py"'
run_cmd = f'.\\venv\\Scripts\\python.exe "finetune/make_captions_by_git.py"'
if not model_id == '':
run_cmd += f' --model_id="{model_id}"'
run_cmd += f' --batch_size="{int(batch_size)}"'