I followed this link : https://www.kaggle.com/sanjeevkallepalli/typedalphabets but he used fit_generotor which is not suported by tensorflow anymore.
xtrain, ytrain, xtes