_train =[] for img in x_train: _train.append(cv2.resize(src=img, dsize=(224, 224)))
Specify any size with dsize.
dsize
Recommended Posts