mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 06:23:20 -07:00
fix: model path
This commit is contained in:
parent
2320fed26b
commit
fdc41cd212
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ def main(**kwargs):
|
||||||
batch_size,
|
batch_size,
|
||||||
zoom)
|
zoom)
|
||||||
# io.show_image(wnd_name, preview_pane_image)
|
# io.show_image(wnd_name, preview_pane_image)
|
||||||
model_path = Path(kwargs.get('model_path', ''))
|
model_path = Path(kwargs.get('saved_models_path', ''))
|
||||||
filename = 'preview.jpg'
|
filename = 'preview.jpg'
|
||||||
preview_file = str(model_path / filename)
|
preview_file = str(model_path / filename)
|
||||||
cv2.imwrite(preview_file, preview_pane_image)
|
cv2.imwrite(preview_file, preview_pane_image)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue