ValueError: Since image dtype is floating point, you must specify the data_range parameter. Please read the documentation carefully (including the note). It is recommended that you always specify the data_range anyway.
In latest versions, ssim function needs data_range as an input also.
Are you planning to submit a Pull Request?