Epilepsy is a chronic noninfectious disease caused by sudden abnormal discharge of brain neurons, which leads to intermittent brain dysfunction. It is also one of the most common neurological diseases in the world. The automatic detection of epilepsy based on electroencephalogram through machine learning, correlation analysis, and temporal-frequency analysis plays an important role in epilepsy early warning and automatic recognition. In this study, we propose a method to realize EEG epilepsy recognition by means of triple genetic antagonism network (GAN). TripleGAN is used for EEG temporal domain, frequency domain, and temporal-frequency domain, respectively. The experiment was conducted through CHB-MIT datasets, which operated at the latest level in the same industry in the world. In the CHB-MIT dataset, the classification accuracy, sensitivity, and specificity exceeded 1.19%, 1.36%, and 0.27%, respectively. The crossobject ratio exceeded 0.53%, 2.2%, and 0.37%, respectively. It shows that the established deep learning model of TripleGAN has a good effect on EEG epilepsy classification through simulation and classification optimization of real signals.