Ranked ordered list of images from class Interpretation

Hi, I’m trying to write a csv with a list of k images ranked by their loss. Is this contained within top_losses? How would I select?

Eg,

image033.jpg, 12.1,
image045.jpg, 10.7,
image142.jpg, 9.3,