_
This commit is contained in:
@@ -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