 LGNET is a novel semantic segmentation network which uses a two-branch architecture to combine the strengths of convolutional neural networks, CNNs, and transformers. It learns both local and global features to achieve high accuracy and fast inference speed. This enables it to be used in real-time applications such as medical imaging. This article was authored by Goping Su, Shenzhen, Wentao Liao, and others.