>>506
さっそく参考にさせてもらったけど、こっちは
AttributeError: 'NoneType' object has no attribute 'ndim'
と出たわ