Development of lightweight models for bioimaging