check for Sized in visualize_images, not list