Most segmentation tutorials begin by choosing a model, feeding images into it, and tuning hyperparameters until the metric improves.