mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-07 13:32:09 -07:00
_
This commit is contained in:
parent
5f811a1b75
commit
2d4773b18f
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
import numpy as np
|
||||
|
||||
def normalize_channels(img, target_channels):
|
||||
img_shape_len = len(img.shape)
|
||||
if img_shape_len == 2:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue