'arr' does not have a suitable array shape for any mode.

img_爲讀入路徑文件下的圖片,之前有讀入過 然後後處理: img_2 = img_ 結果就報錯 'arr' does not have a suitable array shape for any mode. 最後解決是通過把四通道變爲三通道img_2 = img_[0]     以下部分來自 https://www.jianshu.com/p/bbf051149d74   以下部分來自博客
相關文章
相關標籤/搜索