_
This commit is contained in:
1 parent
5f811a1b75
commit
2d4773b18f
1 file changed
+2
@@ -1,3 +1,5 @@
|
|||||||
|
import numpy as np
|
||||||
|
|
||||||
def normalize_channels(img, target_channels):
|
def normalize_channels(img, target_channels):
|
||||||
img_shape_len = len(img.shape)
|
img_shape_len = len(img.shape)
|
||||||
if img_shape_len == 2:
|
if img_shape_len == 2:
|
||||||
|
|||||||
Reference in new issue
Block a user