📌  相关文章
📜  AttributeError: 'NoneType' 对象没有属性 'shape' - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:11.493000             🧑  作者: Mango

代码示例1
This is because the path of image is wrong or the name of image you write is incorrect .

how to check? first try to print the image using print(img) if it prints 'None' that means you have given wrong image path correct that path and try again.