imresize error using OpenCV 2.4.10 and Python 2.7.10
You need to use a 2D size for dst.size()
not 3D :
resized_patch = cv2.resize(patch, (3, 50, 50), dst=dst, fx=0, fy=0, interpolation=cv2.INTER_AREA)
^^^ #here