I'm trying to iterate 45 images data, which is of shape (2040,5200) and 3 color channels. The numpy array data has shape (45,2040,5200,3). I'm trying to get the (2040,5200) values of all 45 images as np.zeros
marker_image=[]
i=0
for i in enumerate(data):
imm = np.zeros(data[i].shape[:2],dtype=np.uint8)
#marker_image.npbytes
marker_image.append(imm)
i+1
getting this error 'can only concatenate tuple (not "int") to tuple'
How do I get this resolved?