up42 / image-similarity-measures

:chart_with_upwards_trend: Implementation of eight evaluation metrics to access the similarity between two images. The eight metrics are as follows: RMSE, PSNR, SSIM, ISSM, FSIM, SRE, SAM, and UIQ.
MIT License
550 stars 68 forks source link

Empty out __init__.py #22

Closed akx closed 3 years ago

akx commented 3 years ago

It does not need to import the submodules for things to work. This also squelches a warning output by Python:

RuntimeWarning: 'image_similarity_measures.evaluate' found in sys.modules after import of package 'image_similarity_measures', but prior to execution of 'image_similarity_measures.evaluate'; this may result in unpredictable behaviour