Valueerror The Input Image Image Must Be 2d, The thing is that the cap.