jterrace / pyssim

A Python module for computing the Structural Similarity Image Metric (SSIM)
MIT License
339 stars 62 forks source link

Not compatible with numpy 1.20 #43

Closed labay11 closed 1 year ago

labay11 commented 1 year ago

In numpy 1.20 they remove the support for numpy.float which makes the code fail in several lines like: https://github.com/jterrace/pyssim/blob/9324d8dd41dccc2001bd6dc8d6c1ec7600b50814/ssim/utils.py#L40

The solution is simply replacing it by just float.

labay11 commented 1 year ago

Hi @jterrace, thanks for merging. Would it be possible to have a version release soon?

jterrace commented 1 year ago

Sure, it'll have to be next week though. I'm on work travel at the moment. I will get back to you.

jterrace commented 1 year ago

Sorry for the delay, just published version 0.6