fig2
Figure 2. Model structure diagram. (A) Overall pipeline: ResNet-6 performs binary classification (EGC vs. non-EGC); if EGC is detected, U-Net performs pixel-level segmentation. (B) Detailed components: convolution, activation function, batch normalization, pooling, flattening, dropout, and fully connected layers, downsampling, and upsampling. Res-U-Net: ResNet cascaded with U-Net; EGC: early gastric cancer.





