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
0
votes
1 answer

How to update AlexNet to use FCN? Confused on upsampling

The main issue is I don't understand how the upsampling works. The AlexNet architecture has the following classifier Dropout(), Linear(in_features=9216, out_features=4096), ReLU(), Dropout(), Linear(in_features=4096,…
pmdaly
  • 1,142
  • 2
  • 21
  • 35
0
votes
1 answer

How to interpret the Throughput metric for Semantic Segmentation?

I am beginning to train a semantic segmentation model in AWS Sagermaker and they provide the following metrics for the output. I understand mIOU, loss, and pixel accuracy, but I do not know what throughput is or how to interpret it. Please see the…
Dre
  • 713
  • 1
  • 8
  • 27
0
votes
1 answer

why categorical cross entropy loss function in training unet model for multiclass semantic segmentation is very high?

I want to do semantic segmentation for a dataset of CMR images using Unet model. The model is perfectly working for other CMR images but when applying it to the new dataset, it behaves strangely. I used categorical cross-entropy as a loss function…
0
votes
3 answers

how to solve an issue using segmentation-models library

I installed segmentation-models library using pip as the provided instruction enter link description here . this is what I got after importing it: from segmentation_models import Unet model = Unet() This is the error I got: AttributeError …
Mahyar
  • 57
  • 2
  • 4
  • 9
0
votes
1 answer

Bad Identifier error with the initial-value attribute of the crowd-semantic-segmentation widget in Amazon Mechanical Turk

I am trying to create a Human Intelligence Task (HIT) on the Amazon Mechanical Turk (MTurk) platform, where I would like workers to update semantic segmentation mask that have been created by an algorithm. Here you can see an example of the…
0
votes
1 answer

Single channel Image annotation

I'm working on Mask(Labels) generation for Semantic segmentation problem I have a NumPy array of 250x321. It's a single-channel image. I've to annotate this image. But since this is a single-channel image, when trying to save it in the normal mode…
0
votes
1 answer

Unet Segmentation Model

I am trying to solve Baby detection with unet segmentation model. I already collected baby images, baby segments and also passed the adult images as negative (created black segments for this). So if I will do in this way is unet model can…
0
votes
0 answers

How to implement instance segmentation on Android?

Is there any instance segmentation model (library) that works on Android devices? DeepLab unfortunately does "just" semantic segmentation, YOLACT required CUDA. Mask R-CNN could work, but I couldn't find any implementation or example. Any hints…
0
votes
1 answer

Is there a function to create a UNET of custom depth in python/KERAS?

I know one can be created manually, but wanted to know if someone has created a function (similar to MATLAB's unet) where you can choose the number of steps along the encoder/decoder paths.
0
votes
1 answer

Android semantic segmentation post-processing is too slow

I'd really appreciate it if anyone can advise with a task I've been working without success for the last week. I have semantic segmentation model (MobileNetV3 + Lightweight ASPP).Short info: input - 1024x1024, output - same size and 2 classes (bg…
0
votes
1 answer

How to use permute on this Input and Target?

I am having errors on my semantic segmentation masks with 5 classes + 1 (background). How do I use permute to avoid this? Target size (torch.Size([4, 1, 320, 480, 6])) must be the same as input size (torch.Size([4, 6, 320, 480]))
0
votes
1 answer

Add class label to raw images for Augmented Pascal Voc dataset

I have recently downloaded an augmented Pascal Voc dataset from this dropbox link, which contains over 10000 images: https://www.dropbox.com/s/oeu149j8qtbs1x0/SegmentationClassAug.zip?dl=0 However, this contains just the raw class images: I would…
0
votes
0 answers

Segmentation Network live inference in ROS Node

I have trained a UNET for Semantic Segmentation based on this library. I am currently trying to run the network in real-time in a ROS Node that takes the raw image from a topic, produces the segmentation mask and publishes it in another topic. The…
0
votes
0 answers

Tensorflow 2 ImageDataGenerator preprocessing_function for semantic segmentation masks

I'm trying to use ImageDataGenerator flow_from_directory to load images and masks for semantic segmentation. Images and masks are png files. Masks 3 classes represented by 3 colors: [255,0,0], [0,0,255] and [255,255,255]. An example of a mask: I…
Nikita Fedorov
  • 790
  • 1
  • 12
  • 40
0
votes
1 answer

How to build wheel files with CUDA support?

How do I create .whl wheel file with CUDA support? I have a fork of facebook's detectron2 project and I have made some changes. Now I would like to build the project. When I run this command: python setup.py bdist_wheel, it creates a wheel file with…