mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-05 20:42:11 -07:00
Fix typo in cv2ex.py
occured -> occurred
This commit is contained in:
parent
19ab857cfb
commit
b383a920ec
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ def cv2_imread(filename, flags=cv2.IMREAD_UNCHANGED, loader_func=None, verbose=T
|
|||
return cv2.imdecode(numpyarray, flags)
|
||||
except:
|
||||
if verbose:
|
||||
io.log_err(f"Exception occured in cv2_imread : {traceback.format_exc()}")
|
||||
io.log_err(f"Exception occurred in cv2_imread : {traceback.format_exc()}")
|
||||
return None
|
||||
|
||||
def cv2_imwrite(filename, img, *args):
|
||||
|
@ -37,4 +37,4 @@ def cv2_resize(x, *args, **kwargs):
|
|||
|
||||
x = imagelib.normalize_channels(x, c)
|
||||
return x
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue