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