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 implement U Net for custom dataset using Tensorflow and Keras

I want to implement U Net for semantic segmentation on my own dataset which contains two classes. Can anyone please let me know how can I implement with Tensorflow and Keras. I have two classes in my dataset with their corresponding labels.
0
votes
0 answers

How to Save (1, 102400, 256) numpy array as image

I have trained vgg_unet model in my own dataset and save the model as model.h5. After saving the model I am loading the model using from keras.models import load_model. Now when I am trying to predict and save the result as image using the code…
0
votes
2 answers

how to mask the segmented area in a image?

I want to create a semantic segmentation model, which can segment the follicles in USG, using U-net. I have labelled my training data using Labelme. The color of the labelled area is #800000. How to mask this image in black and white form. I have…
0
votes
0 answers

Similarity Comparison Between Semantic Segmentation

I have implemented a few algorithms for multi-class semantic segmentation and am now at the stage where I will be comparing them against each other and evaluating the results. I was wondering if there are any best practice methods/formulae for…
0
votes
1 answer

Semantic Segmentation: How to evaluate the noise influence of the effectivity and robustness of the medical image segmentation?

I have done some pre-processing including N4 Bias correction, noise removal and scaling on medical 3D MRIs, and I was asked one question: How to evaluate the noise influence of the effectivity and robustness of the medical image segmentation? When…
0
votes
1 answer

How is GAN based Image to segmentation map different from SOTA semantic segmentation methods?

I have been looking around into papers like Pix2Pix and DeeplabV3. And In pix2pix paper there is an image to segmentation task performed. similarly, DeeplabV3 is used for segmentation tasks. I want to understand when should I use GAN for…
0
votes
1 answer

My image segmentation Model gives very high accuracy on train and validation but outputs blank masks

I used Dice Loss and binary_crossentropy whenever I train my model it shows very high train and validation accuracy but always prints out blank images. My masks are black and white binary images where 0 corresponds to black and 1 corresponds to…
0
votes
1 answer

Can a small dataset with numerous instances of objects in each image be used for object detection/segmentation training?

For instance, if I was trying to detect (and segment) people in a "Where's Waldo" image (an image dense with hundred of people in each image) and label each person based on the color of the shirt they are wearing, would a small dataset (a total of…
0
votes
1 answer

How to perform binary thresholding on a set of images (.png format) and write them in another folder with same file name (and same .png extension)?

I have 450 image labels (for semantic segmentation) in .png format. But, in order to use these images, I have to convert them into binary images. So, I have written a code which performs this task. However, in the final folder where these binary…
0
votes
1 answer

Coco annotator: How to import data from other CocoAnnotator instance

Is there some simple way of importing data from another coco annotator system (just the data and annotations without users).
Darqer
  • 2,847
  • 9
  • 45
  • 65
0
votes
1 answer

Using pretrained models in Pytorch for Semantic Segmentation, then training only the fully connected layers with our own dataset

I am learning Pytorch and trying to understand how the library works for semantic segmentation. What I've understood so far is that we can use a pre-trained model in pytorch. I've found an article which was using this model in the .eval() mode but…
parastoo91
  • 151
  • 1
  • 12
0
votes
0 answers

Training Deeplab on MS COCO

I wish to train deeplab v3+ model on the MS COCO dataset. Has anyone successfully done that before? What training parameters were used to train the model? I looked up in the issues in the Github repository but couldn't find any relevant…
0
votes
1 answer

Semantic Segmentation — Usage of Categorical Cross-Entropy in spite of Binary Cross-Entropy for Binary Image Segmentation

I have read both on SO and on CValidated and still feel I do not completely understand the following matter. If I have a binary segmentation (consider a medical problem, where you have healthy and damaged tissue), which loss is better to use, BCE or…
0
votes
2 answers

Can I run deeplab completely on CPU?

Can I run the DeepLab image segmentation completely on CPU? I have access to hpc, with high Memory resources but it is not GPU-enabled.
behnam
  • 25
  • 4
0
votes
1 answer

Error during compiling a Keras model with own loss function

When I've tried to give to compile a model in Keras with a loss function from here, I've got an error ValueError: Shape must be rank 2 but is rank 1 for 'loss/activation_10_loss/MatMul' (op: 'MatMul') with input shapes: [?], [?]. I've tried to…
Eugene
  • 130
  • 3
  • 17