Thanks for your reply. I guess is the first layer encountered the error，becouse the kernel size of alexnet‘s first layer is 11. I have gone back to my dormitory now，It’s evening here because of the time difference. So I will tell you the details of my code tomorrow morning. Thanks for your understanding.