Questions tagged [semantic-segmentation]

Semantic segmentation is the task of classifying every pixel in the image to a category or class label.

Semantic segmentation is the task of classifying every pixel in the image to a category. It refers to the process of linking each pixel in an image to a class label. Some of its primary applications are in autonomous vehicles, human-computer interaction & robotics.

532 questions
2
votes
1 answer

How to pre-process RGB segmentation mask for multi-class semantic segmentation?

I am working on a multiclass semantic segmentation dataset, the dataset has RGB ground truth segmentation masks for the original images. The dataset has 24 classes. The following table displays the classes and their respective RGB…
2
votes
1 answer

U-Net segmentation without having mask

I am new to deep learning and Semantic segmentation. I have a dataset of medical images (CT) in Dicom format, in which I need to segment tumours and organs involved from the images. I have labelled organs contoured by our physician which we call it…
2
votes
0 answers

MATLAB: Mean Intersection over Union (IOU) calculation when missing classes

I have a dataset which consists of 5 classes, but the images in the dataset vary in the number of classes appearing in it. For example, one image has all 5 classes and another one only has 2 or 3 classes. I am calculating the mean IOU for the…
2
votes
2 answers

Inconsistency in loss on SAME data for train and validation modes tensorflow

I'm implementing a semantic segmentation model with images. As a good practice I tested my training pipeline with just one image and tried to over-fit that image. To my surprise, when training with the exactly the same images, the loss goes to near…
2
votes
1 answer

AVCapturePhoto SemanticSegmentationMatte nil without audio input?

When I add audio input to capture session, photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) callback returns semantic segmentation mattes properly. Without audio input, returned mattes are…
2
votes
1 answer

How do I crop a Landsat image into smaller chunks for training and then predict on the original image

I am looking at using Landsat imagery to train a CNN for unsupervised pixel-wise semantic segmentation classification. That said, I have been unable to find a method that allows me to crop images from the larger Landsat image for training and then…
2
votes
1 answer

Tensorflow U-Net segmentation mask input

I am new to tensorflow and Semantic segmentation. I am designing a U-Net for semantic segmentaion. Each image has one object that I want to classify. But in total I have images of 10 different objects. I am confused, how can I prepare my mask…
Akash Parikh
  • 23
  • 1
  • 6
2
votes
0 answers

Extract 2D-image patches for training image and mask used in Semantic Segmentation

I was wondering as to what would be my best approach to this problem. I have a 6000-by-6000 image with a 6000-by-6000 mask. I wanted to crop the image into several sub-images before training and came across Extract_Patches_2d in Scikit learn. Looks…
2
votes
1 answer

How can I train tensorflow deeplab model?

I need to train tensorflow deeplab model with my shoes dataset. Then i will use this model in order to remove background of image shoe. How could i train it ? Could you explain step by step ? You have any example for this situation…
2
votes
0 answers

Class agnostic Mask R-CNN

How can I use the implementation of https://github.com/fizyr/keras-maskrcnn to perform class-agnostic segmentation ? Indeed, the original Mask R-CNN paper mentions that class agnostic segmentation leads to same performances as class-specific…
2
votes
1 answer

How to save and reuse semantic segmentation results?

I use detectron2 to run semantic segmentation on images. Detectron2 has a prebuilt function for visualizing the results. I am interested in saving the results of the segmentation and parsing them when needed. Hence I backtracked the code and found…
55597
  • 2,033
  • 1
  • 21
  • 40
2
votes
1 answer

Cross Validation with coco data format json files

I am a newbie ML learner and trying semantic image segmentation on google colab with COCO data format json and lots of images on google drive. update I borrowed this code as a starting point. So my code on colab is pretty much like…
2
votes
1 answer

Weighted Pixel Wise Categorical Cross Entropy for Semantic Segmentation

I have recently started learning about Semantic Segmentation. I am trying to train a UNet for the same. My input is RGB 128x128x3 images. My masks are made up of 4 classes 0, 1, 2, 3 and are One-Hot Encoded with dimension 128x128x4. def…
2
votes
1 answer

How to define inner polygon in coco dataset?

I'm looking to understand how to define inner or interior polygon in segmentation part of coco dataset I'd like to teach the convolution network to recognize holes in building polygons Example of the polygon with hole
2
votes
1 answer

How to parallelize model prediction from a pytorch model?

I have a PyTorch instance segmentation model that predicts the masks of images one by one. Is there any way to parallelize this task so that it can be completed faster. I have tried to use multiprocessing pool.apply_async() to call the method that…