This study introduces HER2Net, a deep learning model for identifying human epidermal growth factor receptor 2 (HER2) positive gastric cancer (GC) using hematoxylin and eosin (H&E) whole slide images (WSI). This evidence concerns the gene ERBB2 and gastric cancer.