semantic-segmentation

My Image segmentation result map contains black lattice in in the white patch

China☆狼群 提交于 2019-12-13 13:27:26
问题 I'm doing an image segmentation with UNet-like CNN architecture by Pytorch 0.4.0.It mark foreground as 1 and background as 0 in the final segmentation result.I use a pre-trained VGG's feature extractor as my encoder, so I need to upsampling the encoder output many times.But the result shows a weird lattice parttern in the result like this: I suspect these different shape of black parttern were caused by the deconvolutional layers.It's said that deconv layer add (s-1) zeros between the input

How to handle the mean Intersection Over Union (mIOU) for unknown class in semantic segmentation?

旧巷老猫 提交于 2019-12-12 21:48:55
问题 I implemented a FCN network to do semantic segmentation. I am using Cityscapes as my dataset. As you know, there are some classes in Cityscapes that you ignore during the training and it is labeled as 255. I used weighted loss to ignore the loss for the unknown classes(set the loss to zero for unknown class). Now I want to exclude unknown class from my evaluation metric(mean Intersection Over Union (mIOU)).It is not clear for me how to exclude the unknown class at this point. At the moment I

ImageDataGenerator for semantic segmentation

蹲街弑〆低调 提交于 2019-12-11 06:05:55
问题 I am trying to do semantic segmentation with Keras and when trying to load the images i get this error using flow_from_directory method. Found 0 images belonging to 0 classes. Found 0 images belonging to 0 classes. This is my code. from tensorflow.keras.applications.resnet50 import preprocess_input from tensorflow.keras.preprocessing.image import ImageDataGenerator data_generator = ImageDataGenerator() train_generator = data_generator.flow_from_directory( directory="../input/Training_dataset

Mask R-CNN for object detection and segmentation [Train for a custom dataset]

半世苍凉 提交于 2019-12-06 16:07:37
问题 I'm doing a research on " Mask R-CNN for Object Detection and Segmentation". So I have read the original research paper which presents Mask R-CNN for object detection, and also I found few implementations of Mask R-CNN , here and here (by Facebook AI research team called detectron). But they all have used coco datasets for testing. But I'm quite a bit of confusing for training above implementations with custom data-set which has a large set of images and for each image there is a subset of

TensorFlow Sigmoid Cross Entropy with Logits for 1D data

守給你的承諾、 提交于 2019-12-02 18:28:29
问题 Context Suppose we have some 1D data (e.g. time series), where all series have fixed length l : # [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] index example = [ 0, 1, 1, 0, 23, 22, 20, 14, 9, 2, 0, 0] # l = 12 and we want to perform semantic segmentation, with n classes: # [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] index labeled = [ [ 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0], # class 1 [ 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0], # class 2 [ 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0], # class 3 #[ ... ], [ 1, 1, 1, 0,

TensorFlow Sigmoid Cross Entropy with Logits for 1D data

…衆ロ難τιáo~ 提交于 2019-12-02 13:20:40
Context Suppose we have some 1D data (e.g. time series), where all series have fixed length l : # [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] index example = [ 0, 1, 1, 0, 23, 22, 20, 14, 9, 2, 0, 0] # l = 12 and we want to perform semantic segmentation, with n classes: # [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] index labeled = [ [ 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0], # class 1 [ 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0], # class 2 [ 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0], # class 3 #[ ... ], [ 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1], # class n ] then the output for a single example has shape [n, l] (i.e. the

What is “semantic segmentation” compared to “segmentation” and “scene labeling”?

旧巷老猫 提交于 2019-11-28 02:33:24
Is semantic segmentation just a Pleonasm or is there a difference between "semantic segmentation" and "segmentation"? Is there a difference to "scene labeling" or "scene parsing"? What is the difference between pixel-level and pixelwise segmentation? (Side-question: When you have this kind of pixel-wise annotation, do you get object detection for free or is there still something to do?) Please give a source for your definitions. Sources which use "semantic segmentation" Jonathan Long, Evan Shelhamer, Trevor Darrell: Fully Convolutional Networks for Semantic Segmentation . CVPR, 2015 and PAMI,

What is “semantic segmentation” compared to “segmentation” and “scene labeling”?

好久不见. 提交于 2019-11-26 23:45:29
问题 Is semantic segmentation just a Pleonasm or is there a difference between "semantic segmentation" and "segmentation"? Is there a difference to "scene labeling" or "scene parsing"? What is the difference between pixel-level and pixelwise segmentation? (Side-question: When you have this kind of pixel-wise annotation, do you get object detection for free or is there still something to do?) Please give a source for your definitions. Sources which use "semantic segmentation" Jonathan Long, Evan