ada-shen / ICNN

A pytorch implementation of interpretable convolutional neural network.
MIT License
63 stars 20 forks source link

AttributeError: 'NoneType' object has no attribute 'crop' #11

Open 5488464aini opened 2 years ago

5488464aini commented 2 years ago

这种一般是什么问题呢

5488464aini commented 2 years ago

AttributeError: 'NoneType' object has no attribute 'crop'

5488464aini commented 2 years ago

im=a.crop((left,top,right,bottom)) AttributeError: 'NoneType' object has no attribute 'crop' 它就报错了