Prediction of Material Defects And Phase Formation Using Deep Learning And Transfer Learning