mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-05 20:42:11 -07:00
fix
This commit is contained in:
parent
f56df85f78
commit
81ed7c0a2a
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ class SampleProcessor(object):
|
|||
img = cv2.warpAffine( img, mat, (resolution,resolution), borderMode=borderMode, flags=cv2.INTER_LINEAR )
|
||||
else:
|
||||
if w != resolution:
|
||||
img = cv2.resize( img, (resolution, resolution), cv2.INTER_CUBIC )
|
||||
img = cv2.resize( img, (resolution, resolution), cv2.INTER_LINEAR )
|
||||
|
||||
img = imagelib.warp_by_params (params_per_resolution[resolution], img, warp, transform, can_flip=True, border_replicate=border_replicate, cv2_inter=cv2.INTER_LINEAR)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue