Are you expecting this image format? In a previous post you’ve mentioned data['image'] should contain 3064 images. Now your fname seems to have 1207 images. Maybe the data is being stored/loaded in the wrong format.