Thank you for your reply.
I’ve solved this problem. The error is caused by my images, some of them are PNG format, thus these images have 4 channels. So I change them to the RGB and the problem is solved.
Thank you again.