mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 04:52:13 -07:00
fix cv2.resize interpolation
This commit is contained in:
parent
770da74a9b
commit
c58d2e8fb3
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ def restore_faceset_metadata_folder(input_path):
|
|||
|
||||
img = cv2_imread (filepath)
|
||||
if img.shape != shape:
|
||||
img = cv2.resize (img, (shape[1], shape[0]), cv2.INTER_LANCZOS4 )
|
||||
img = cv2.resize (img, (shape[1], shape[0]), interpolation=cv2.INTER_LANCZOS4 )
|
||||
|
||||
cv2_imwrite (str(filepath), img, [int(cv2.IMWRITE_JPEG_QUALITY), 100] )
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue