问题遇到的现象和发生背景
运用ssim进行图片相似度对比
问题相关代码,请勿粘贴截图
SSIM = structural_similarity(img1, img2, multichannel=True)
运行结果及报错内容
py:12: FutureWarning: multichannel
is a deprecated argument name for structural_similarity
. It will be removed in version 1.0.Please use channel_axis
instead.