![](/img/trans.png)
[英]AttributeError: 'NoneType' object has no attribute 'shape' (How to loop and compare 1 images with multiple images using python)
我試圖通過計算 SSIM 值來比較一個圖像與多個圖像。 我使用答案中編寫的代碼作為參考: How do I compare SSIM between one image and many others using python? 以下是我無法解決的錯誤。 AttributeError: 'None ...