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 build the binary mask for U-net?

i'm working whit labelme files in json files but .. How convert this files to mask files in png for U-net model ?
0
votes
0 answers

while creating VGGSEGNET giving following error

while implementing VGGSEGNET giving me following error Below is VGGSEGNET code Function call is like- model=VGGSegnet(n_classes=1, input_height=224, input_width=224) On following both versions getting same error tf version=2.4.1 & 2.2.0 keras…
0
votes
1 answer

How to modify output in keras for back propagation

I have a U-Net model written in tensorflow for a segmentation problem. I want to improve my segmentation with the same amount of training data and I was thinking of adding a level set method module to the output and then calculate the loss.…
0
votes
2 answers

AttributeError: 'tuple' object has no attribute 'write' , instance segmentation python

I have used code of this blog "https://learnopencv.com/deep-learning-based-object-detection-and-instance-segmentation-using-mask-r-cnn-in-opencv-python-c/" Titled Deep learning based Object Detection and Instance Segmentation using Mask R-CNN in…
user15234292
0
votes
2 answers

How does masks and images work with each other in UNET?

Let's say , we have a 1000 number of images with their corresponding masks .Correct me if I am wrong that if we use UNET then it will pass through a number of different convolutional layers , relu , pooling etc. . It will learn the features of…
0
votes
1 answer

How to create Hybrid loss consisting from dice loss and focal loss [Python]

I'm trying to implement the Multiclass Hybrid loss function in Python from following article https://arxiv.org/pdf/1808.05238.pdf for my semantic segmentation problem using an imbalanced dataset. I managed to get my implementation correct enough to…
0
votes
1 answer

Intersection over union (IOU) metric for multi-class semantic segmentation task

I have a semantic segmentation task to predict 5 channel mask using UNET for example mask shape is (224,244,5). I'm using this function for IOU : def mean_iou(y_true, y_pred): y_pred = tf.round(tf.cast(y_pred, tf.int32)) …
N.zay
  • 61
  • 2
  • 13
0
votes
1 answer

Getting tighter segmentation results of Deeplab for small/underbalanced classes

I have trained the official Tensorflow deeplab model (https://github.com/tensorflow/models/tree/master/research/deeplab) on the CelebAMask-HQ dataset (https://github.com/switchablenorms/CelebAMask-HQ), to have a model that can semantically segment…
0
votes
1 answer

CARLA - Create Custom semantic tags Does not work

i followed the instructions on Create semantic tags to create my custom tags. I created two new folders, ChevronSign and YellowLine Then i added the tags to ObjectLabel.h in LibCarla/source/carla/rpc Then i edited Tagger.cpp in…
William
  • 31
  • 1
0
votes
0 answers

Semantic segmentation of lesions

I need your lights please.I try to segment lesions from fundus images and i am completely lost.I chose to create a very limited dataset of only 87 train & 16 test images of 640x640. As you see the val_dice coefficient is almost 81% while the…
0
votes
0 answers

Neural netwrok does not train with binary cross entropy

I am using the unet for an image segmentation problem, the network trains very well when I use the Dice loss, but it does not optimize for any order of magnitude of the learning rate when I use the binary cross entropy or the weighted cross entropy…
0
votes
1 answer

where does class_weights or weighted loss penalize the network?

I am working on a Semantic segmentation project where I have to work on multiclass data which is highly imbalanced. I searched for optimizing it during training using the model.fit parameter and in that to use class_weights or sample_weights. I can…
0
votes
1 answer

what is the encoded format of airbus kaggle?

I'm try to understand the format of the segmentation. The format of segmentation of air bus detection of kaggle 264661 17 265429 33 266197 33 266965 33 267733... looks something like this. it does not look like voc format what kind of format is…
user14857954
0
votes
0 answers

How a CNN based network developed for 2D RGB data, be trained on 3D data like LINEMOD dataset for object pose estimation?

PoseCNN (PoseCNN: A Convolutional Neural Network for 6D Object Pose Estimation in Cluttered Scenes) is using a CNN as backbone network. CNNs can be trained on 2D RGB data. How can we train the PoseCNN using 3D data (RGB-D like) like LINEMOD,…
0
votes
1 answer

How can I resize my MLMultiArray to fit my camera texture size?

I am doing some semantic segmentation of people using DeepLabV3 mlmodel. The output after prediction is 513*513 as an MLMultiArray. Currently I am resizing my camera output to this size to apply the segmented array. How can I resize the MLMultiArray…
Arun
  • 222
  • 1
  • 10