i run this code.
import numpy as np
import matplotlib.pyplot as plt
from PIL import Image
X_train = plt.imread('00_0.9944__20150716_131647_04249_074.raw_color.bmp')
type(X_train)
X_train = X_train.resize((32, 32))
X_train = X_train.reshape((len(X_train), 3, 32, 32))
then, it throws
X_train = X_train.reshape((len(X_train), 3, 32, 32))
AttributeError: 'NoneType' object has no attribute 'reshape'
using img size is 207x209. Please help me. Thank you.