K fold cross validation for CNN

I think this answer might help.