Practical overview
When it fits
Use the repository when you want to work directly with an ENet implementation for training or image inference, rather than use a hosted segmentation interface.
Who it is for
- Developers exploring real-time image semantic segmentation with ENet.
- Practitioners who have image and label datasets and want to train the repository's model.
- Users with a pretrained model who want to run image inference.
Documented uses
- Train a segmentation model using image inputs and corresponding labels.
- Run semantic-segmentation inference on a single image using a pretrained model.
- Explore the ENet implementation through its linked notebook in Colab.
Requirements & limits
The repository is public and its code is distributed under the BSD-3-Clause license.
- The documented training workflow requires both an input dataset and a label dataset.
- The inference command requires a pretrained model file and an image path.
- The README provides a Colab-linked notebook as an alternative project entry point.
- ENet is described as intended for real-time semantic segmentation, including mobile-device use.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Run image inference with a pretrained ENet model
Use the documented test command to process one image with a pretrained model.
Before you start
- A cloned copy of the repository
- A pretrained model file ending in .pth
- An image file to infer
Steps
Clone the repository and change into its directory.
Run the command below, replacing the paths with the model and image locations.
python3 init.py --mode test -m /path/to/the/pretrained/model.pth -i /path/to/image/to/infer.png
Expected outcome
The command runs the repository's test-mode inference workflow on the specified image.
Guide limitations
- The command does not specify output format or where results are saved.
Train ENet with image and label datasets
Start model training using paired input and label dataset paths.
Before you start
- A cloned copy of the repository
- A training input set and corresponding label set
Steps
Clone the repository and change into its directory.
Run the command below, substituting the dataset paths.
python3 init.py --mode train -iptr path/to/train/input/set/ -lptr /path/to/label/set/
Expected outcome
The command starts the documented training mode with the supplied input and label paths.
Guide limitations
- The README does not describe dataset formatting, training configuration, or completion and checkpoint behavior.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 October 2026
- Original website title
- iArunava/ENet-Real-Time-Semantic-Segmentation · Official homepage title · retained in its source language

