This commit is contained in:
iperov 2019-03-31 17:24:07 +04:00
parent 5f811a1b75
commit 2d4773b18f

View file

@ -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: