We proposed a multitask CA-EfficientNetV2 model based on MR imaging for the simultaneous prediction of IDH mutation and MGMT promoter methylation in gliomas. This evidence concerns the gene MGMT and glioma.