Strabismus

Step 5 of 6

Classification

Four neural networks learn to sort the photos: AlexNet, VGG19, ResNet50 and EfficientNet-B7.

How it works

Four networks, one question

Each network looks at a photo and produces five scores, one per class, that add up to 100%. The highest score is its answer. Training nudges millions of internal weights, one batch of photos at a time, until those answers match the labels.

VGG19, ResNet50 and EfficientNet-B7 started from weights already learned on ImageNet, a collection of over a million everyday photos, and were then fine-tuned on our eye photos. This is transfer learning: the networks arrive knowing edges, curves and textures, so they only have to learn what makes an eye misaligned.

An eye photo going into the network

A photo goes in

  • Esotropia
  • Exotropia
  • Hypertropia
  • Hypotropia
  • Normal

Five scores come out

Illustration of the idea, not real model output. The highest score becomes the answer.

The four models

From a baseline to the best performer