mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 04:52:13 -07:00
fix
This commit is contained in:
parent
8d7edd172c
commit
1493551410
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ class SampleProcessor(object):
|
|||
img_mask = img[...,3:4]
|
||||
|
||||
if apply_ct:
|
||||
if ct_sample_bgr is None:
|
||||
if ct_sample_bgr is not None:
|
||||
ct_sample_bgr = ct_sample.load_bgr()
|
||||
|
||||
ct_sample_bgr_resized = cv2.resize( ct_sample_bgr, (resolution,resolution), cv2.INTER_LINEAR )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue