Denormalised_images()

I am getting error in denormalised_images() maybe it is input , Can anyone help me in this error??

The errors basically says that the index 0 of denirmalised_images list or array does not exist.

I wonder if you have defined this array somewhere and if so check its size/shape.