This commit is contained in:
iperov committed 2019-03-31 17:24:07 +04:00
1 parent 5f811a1b75
commit 2d4773b18f
1 file changed
+2
+2
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: