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
0 answers

Artificial neural network performance degradation in other PCs

I am experimenting with designing a semantic segmentation network using Pytorch. It performs well on my computer. For better performance, we experimented by moving the network to a computer with a lot of GPU capacity. Basically, if you set the same…
0
votes
1 answer

MultiClass Image Segmentation

I have trained a Unet model for multiclass image segmentation. I have four class and this is code: def Unet(input_shape=(128,128, 3), num_classes=4): inputs = Input(shape=input_shape) down1 = Conv2D(64, (3, 3),…
0
votes
1 answer

What could be reason of "ValueError: axes don't match array error" for Pytorch U-net segmentation model?

I'm trying to implement a segmentation model (which i used for another dataset succesfully before) for kaggle dataset called "Carvana Image Masking Challange". I searched a lot, but still could not figured out what is the reason i am getting this…
Enes Uğuroğlu
  • 377
  • 5
  • 16
0
votes
1 answer

Refine segmentation mask based on contours of image

I have an image for which I have the green border as the segmentation mask's outline. I'm looking to refine this outline based on contours found on the original image, to get a mask like the in 2nd image - where the edges of the hair are more…
n00b
  • 1,549
  • 2
  • 14
  • 33
0
votes
1 answer

U net Multiclass segmentation image input dataset error

I am trying to do multiclass segmentation with U-net. In the previous trials I tried the binary segmentation and it works. But when I try to do multiclass I am facing this error. ValueError: 'generator yielded an element of shape (128,192,1) where…
0
votes
1 answer

Finding intersection of two tensors

I have used that the dice coefficient is calculated by 2xintersection/union in semantic segmentation neural networks. And the intersection of y_true and y_pred is found by tf.math.reduce_sum(y_pred*y_true). Please someone can help me figure out, how…
Tuan Azzam
  • 15
  • 7
0
votes
1 answer

Passing the output of a CNN encoder to convLSTM layers. (PyTorch)

I'm interested in implementing a LinkNet based encoder-decoder structure for semantic segmentation on a custom dataset. I'm trying to introduce convLSTM layers between the encoder and decoder. Typically, as expected, the output of the encoder is a…
0
votes
1 answer

How to improve DeeplabV3+ segmentation boundary/edge?

I am training a custom dataset in Tensorflow 1.15.3 on top of mobilenet_v3_large_seg with standard research models. The training in general is ok but the borders/edges are very noisy, what might help to improve detecting segments with better…
Thomas
  • 1,622
  • 17
  • 24
0
votes
2 answers

How to do semantic segmentation using yolov2 in python3.7?

I labeled images with bounding box and then used yolov2 (python 3.7) for object detection and It was successful (https://github.com/deep-diver/Soccer-Ball-Detection-YOLOv2/blob/master/YOLOv2-Train.ipynb). I need to use yolov2 for semantic…
Abbas
  • 71
  • 1
  • 8
0
votes
1 answer

Will Google Colab keep running cells for saving files in mounted drive if i disconnect?

I am training a neural network but it is going to take time. If I shut down my laptop, will the network keep on training and save the model weights in drive.
0
votes
1 answer

GPU support for AWS Semantic Segmentation

I have trained a model using AWS supplied semantic segmentation algorithm inside a notebook. Feeding images of size 512x512 to this network trained on images of the same size takes approximately 10 seconds. Feeding an image of size 1024x512 takes…
0
votes
1 answer

Incompatible shape problem with Keras ( segmentation model) for batch_size>1

I am trying to do semantic segmentation using Unet from segmentation model for multi channel (>3) image. The code works if the batch_size =1. But if I change the batch_size to other values (e.g. 2) then error occurs (InvalidArgumentError:…
bdur
  • 341
  • 1
  • 8
  • 17
0
votes
1 answer

Keras UNet Conv2DTranspose Zero-dimensional array error

I have a rather simple / standard Unet architecture which looks like the following: radar_input_layer = layers.Input(shape=(tdata.shape[1],tdata.shape[2],tdata.shape[3])) print(radar_input_layer.shape) c1 = layers.Conv2D(neurons, (3,3),…
0
votes
1 answer

How to interpret mobilenetv2 segmentation result output on Android?

I trained a quantized semantic segmentation model with my own dataset using the python scripts available on Deeplab's official Github page. I used the mobilenetv2_coco_voc_trainaug backbone. I checked the result model in Netron and this how the…
0
votes
1 answer

KMeans clustering with labels data

I have a RGB image of shape (587, 987, 3). #height, width, num_channels I also have label data (pixels' locations) for each of 7 classes. I wanted to apply KMeans clustering algorithm to segment the given image into 7 classes. While applying KMeans…