Thank you dear ptrblck. I found my big mistake. I didnt know how to use pretrained model, and i was trying to move all weights of pretrained model to my cnn. and it couldnt do it. i found from your froum that i just can change some layers like fc, dropout, … i could correct my mistake. Thank you for your reply.