Thanks a lot. It works well.
I thought the reason why the model is not learning well was this problem. Maybe there might be some my mistakes. although I was not able to find out the problem that my first model doesn’t learn well compared with the revised model, I’m so appreciated for your help.