Fig. 2

Schematic diagram of the DL model architecture. The model comprises an input layer, a ResNet50 backbone with frozen layers, global average pooling, a dense layer with 128 units and ReLU activation, and a softmax output layer for classification into three categories: optic disc edema, pseudopapilledema, and normal