1. Overview
  2. Custom Models
  3. Semantic Segmentation Model

Semantic Segmentation Model

DeepLobe's Semantic Segmentation model is a powerful tool for understanding the visual content of images at a pixel-level. Unlike Object Detection or Instance Segmentation models that identify and classify objects within an image, Semantic Segmentation goes a step further by assigning a semantic label to each pixel in the image. This allows for a more detailed and fine-grained understanding of the image's content.

The Semantic Segmentation model in DeepLobe is trained to recognize and segment different classes of objects or regions within an image. It can accurately label pixels belonging to classes such as buildings, roads, vegetation, sky, and more. This level of understanding is essential for various applications, including autonomous driving, urban planning, and environmental monitoring.

By leveraging state-of-the-art deep learning techniques, the Semantic Segmentation model analyzes the visual features and patterns present in an image to identify and classify pixels into different semantic classes. This enables users to gain valuable insights into the distribution and composition of different objects or regions within the image.

With DeepLobe's no-code AI platform, you can create custom Semantic Segmentation models tailored to your specific use cases. Whether you need to segment objects in satellite images, analyze medical scans, or extract meaningful information from aerial imagery, DeepLobe provides the tools and capabilities to train and deploy highly accurate Semantic Segmentation models without the need for coding.

Next, we will guide you through the steps and workflow of creating a custom Semantic Segmentation model using DeepLobe's intuitive interface and powerful features.

Create Custom Semantic Segmentation Model

  1. Click on create Semantic Segmentation Model:
  2. Begin by creating a new project for your Semantic Segmentation model in DeepLobe.
  3. Provide a suitable name and description to identify your project.

Add Training Data

You can add train data in multiple ways. 

Upload Images

You can upload images to DeepLobe to train your Semantic Segmentation model. To upload images, click on the "Browse files" button on the project creation screen. Locate and select the images from your local storage.Ensure that your images are in JPG, PNG, or JPEG format and meet the following requirements like minimum of 50 files, each file size should not exceed 1 MB

Import from Data Sources

You can also import images from data sources like OneDrive and Google Drive.

Upload Videos

If you have video data for your Semantic Segmentation model, you can upload .mp4 format videos to DeepLobe. Follow these steps:

  • Click on the "Browse files" button on the project creation screen.
  • Locate and select the video files from your local storage.
  • When uploading videos, you need to choose the number of frames per second (fps) for sampling. Higher fps will result in a larger output size with more images. Adjust the frame rate using the slider and click on "Choose Frame Rate" to confirm your selection.
  • DeepLobe will convert the video into a sequence of images based on the chosen frame rate. Please note that these frames/images will not be annotated, so you will need to manually annotate them or hire a professional annotator.

Add Data using JSON files

Additionally, you have the option to upload annotated data in .json format. If you have already annotated your data externally, you can upload the annotations to DeepLobe. This allows you to utilize pre-existing annotations and speed up the training process. To add data using JSON files:

  1. Click on the "Upload JSON" button on the project creation screen.
  2. Select the JSON file containing the annotations.
  3. DeepLobe will use this annotated data to train your Instance Segmentation model.

It's important to have accurate and comprehensive annotations for training your v model effectively. Well-annotated data helps the model learn and identify objects accurately in images or videos.

Annotate Training Data

Annotation for Semantic Segmentation Model: To annotate your dataset for the custom Semantic Segmentation Model in DeepLobe, you can follow a similar annotation process as in the Instance Segmentation model. Here are the steps:

Upload and Prepare Your Dataset

Ensure that you have a minimum of 50 files in your dataset. Once uploaded, click on "Continue" to proceed to the labeling tool. DeepLobe's intuitive annotation tool allows you to manually label objects and annotate your images. Here's how:

  • An image from your dataset will be displayed in the labeling tool.
  • Draw polygons around the objects or regions of interest in the image. Click on the image to add vertices and create a polygon that accurately outlines the object.
  • Assign a label or class to each polygon by clicking on the "Add label" button and entering the appropriate label, such as "person," "car," or any other relevant category. You can assign different labels to different objects in the image.

Review and Edit Annotations

After annotating an image, you can review and edit the annotations as needed. You can adjust the position of the polygons, modify labels, or delete incorrect annotations. It is important to ensure that the annotations accurately represent the objects or regions of interest in the image.

Annotate the Entire Dataset

Repeat the annotation process for each image in your dataset. Take your time to ensure accurate and comprehensive annotations for each object or region of interest. The quality of annotations directly impacts the performance of your Semantic Segmentation model.

Once you have completed annotating all the images in your dataset, the tool automatically saves your annotations for the next steps of training a custom model.

If you prefer to have a professional annotator assist you, you can click on "Contact Us" and select "Hire Annotation Expert" to request this service.

Accurate and detailed annotations are crucial for training your Instance Segmentation model effectively. They help the model learn to identify and segment individual instances of objects within the images accurately.

Data Health Check


In the custom Semantic Segmentation model flow, DeepLobe provides a Data Health Check stage to evaluate the quality and balance of your training and validation data sets. This stage allows you to assess the health of your data and take necessary actions to improve the precision and performance of your models.

DeepLobe offers powerful analysis tools, such as Class Balance, to assist you in identifying potential gaps or imbalances within your data. These tools highlight classes with a minority of data, making it easier for you to identify areas where additional data is needed to improve the model's performance.

To improve the health of your data and enhance the accuracy of your model, consider the following steps:

Add More Data

If the analysis reveals that certain classes have a limited number of samples, it is advisable to add more data for those classes. Collecting additional samples will provide a more diverse and representative training set, enabling the model to learn effectively.

Evenly Distribute Training Data

Ensure that your training data is evenly distributed across different classes. Imbalanced training data, where certain classes have significantly more samples than others, can lead to biased models. By evenly distributing the training data, you create a balanced learning environment that promotes fair and accurate predictions for all classes.

By following these steps, you can improve the quality and health of your data, leading to better model performance and more reliable object detection results.

DeepLobe's Data Health Check stage empowers you to evaluate and optimize your training and validation data sets, ultimately enhancing the effectiveness and accuracy of your custom object detection models.

Train Model

Once the data health of your custom Semantic Segmentation model is verified and deemed satisfactory, you can proceed to train your model by clicking on the "Train" button. The training process involves using the labeled data to teach the model how to identify and classify objects in images accurately.

Upon initiating the training process, DeepLobe will commence training your model using the provided data. The training time may vary depending on the size of the dataset and the complexity of the objects being detected. Once the training is completed, you will receive an email notification indicating that your model has been trained and is ready for use.

During the training phase, DeepLobe's advanced algorithms analyze the data and optimize the model's parameters to improve its accuracy and performance. The model learns to recognize patterns, features, and characteristics of the objects within the training data, enabling it to make accurate predictions on new, unseen images.

It's important to note that the training process may require multiple iterations and adjustments to fine-tune the model's performance. DeepLobe's training algorithm optimizes the model based on feedback and evaluation metrics, such as precision, recall, and F1 score, to ensure optimal results.

Once you receive the notification that your model has been trained and is ready, you can proceed to the next stage, which involves evaluating and testing the model's performance using the validation and test datasets.

Evaluate and Test Model

Once your Semantic Segmentation model has been trained, it is important to evaluate its performance and test its accuracy. DeepLobe provides tools to help you with this process.

To test the model, you can upload any image of your choice and click on the "Test" button. The model will analyze the image and accurately detect the objects within it. It will then provide the correct labels for each detected object. This allows you to assess the model's performance and verify if it meets your expectations in terms of accuracy and object segmentation.

Retrain Model

If you find that the model's accuracy is not satisfactory, DeepLobe offers a retraining capability to help improve the model's performance. By adding more training data to the model, you can enhance its accuracy and increase its ability to correctly detect and segment objects. Simply upload your updated or additional data, and DeepLobe will take care of the retraining process. This makes it easy to iterate and improve your model with just a few clicks.

To initiate the retraining process, you can click on the "Retrain" button present on the results screen after testing the model. Additionally, you can navigate to the "My Models" section in the left panel of the DeepLobe platform. From there, you can select the specific model you want to retrain and click on the three-vertical dots corresponding to that model. Then, choose the "Retrain" option to start the retraining process.

By incorporating more data and retraining the model, you can achieve greater accuracy and performance in your segmentation tasks. DeepLobe simplifies the retraining process, allowing you to optimize your model's performance with ease.

For more detailed guidance on evaluating model metrics, testing your model, and retraining, you can refer to the DeepLobe documentation or reach out to our support team for further assistance. We are here to help you achieve the best results with your custom instance segmentation models.

Model Integration

To integrate your custom Semantic Segmentation model into your applications or systems, you will need the model API endpoint and the corresponding API key. Follow these steps to obtain the API endpoint for your object detection model:

  • Navigate to the "My Models" section in the DeepLobe platform.
  • Locate your Semantic Segmentation model from the list of models.
  • Look for the API endpoint associated with your model. It will be displayed in the platform, usually in the format of a URL or an endpoint address.
  • Click on the copy icon located next to the API endpoint to copy it to your clipboard.

Once you have copied the API endpoint, you can use it to make API requests and integrate your object detection model into your applications or systems.

Note: The API endpoint is specific to your Semantic Segmentation model and allows you to communicate with the DeepLobe platform to utilize the model's capabilities.

For more information on how to use the API endpoint and integrate the model into your applications, you can refer to the DeepLobe API documentation or consult the relevant documentation for your programming language or framework.

API Key: To generate an API key for your DeepLobe account, follow these steps:

  • Go to the "APIs" section in the DeepLobe platform.
  • Look for the API key associated with your account.
  • Click on the copy icon located next to the API key to copy it to your clipboard.
  • Once you have obtained the API key, you can use it to authenticate and authorize your API requests to the DeepLobe platform.

For more information, go through our API documentation.


Was this article helpful?
© 2024 DeepLobe Help Documentation