|
@@ -84,6 +84,7 @@ def build_input(df, seq_norm, p_chanels):
|
|
|
img = cv2.imread(img_path)
|
|
|
else:
|
|
|
img = cv2.imread(img_path, cv2.IMREAD_GRAYSCALE)
|
|
|
+ img = cv2.resize(img, (50, 50))
|
|
|
|
|
|
# normalization of images
|
|
|
seq_elems.append(np.array(img, 'float16') / 255.)
|