Questions tagged [deeplab]

DeepLab is a deep learning model for semantic image segmentation, where the goal is to assign semantic labels to every pixel in the input image.

130 questions
2
votes
1 answer

deeplab predict a black mask

i trained deeplab model on my custom dataset and does not predict anything just a black background, i don't know what's the problem -data = RGB image + ( 0-1) label: 400 * 300 -classe=2 -convert to record format: -training step: ==> Loss = 0.2 ~…
Essalah Souad
  • 63
  • 1
  • 6
2
votes
1 answer

How to properly use tf.metrics.mean_iou in Tensorflow to show confusion matrix on Tensorboard?

I found evaluation script in Tensorflow official implementation of DeeplabV3+ (eval.py) uses tf.metrics.mean_iou to update mean IOU, and adds it to Tensorboard for record. tf.metrics.mean_iou actually returns 2 tensors, one is calculated mean IOU,…
Xinyao Wang
  • 2,029
  • 12
  • 24
2
votes
1 answer

Deeplab: how to separate segmentation of overlapping objects?

I'm using the tensorflow deeplab to dolphins segmentation, according to the following…
Tiago Zis
  • 23
  • 2
2
votes
0 answers

I want to know how to perform quantization-aware training for deeplab-v3+

I have been trying to perform quantization aware training for deeplab using the guide given in this link https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/quantize However, I am not sure where exactly to put the below 2 lines…
2
votes
1 answer

What are the criteria for the weight of deeplab my custom dataset?

I'm training Deeplab v3 by making custom data set in three class, including background Then, My class is background, panda, bottle and there are 1949 pictures. and I'm using a moblienetv2 model and segmentation_dataset.py has been modified as…
2
votes
2 answers

Tensorflow-lite - Getting bitmap from quantized model output

We are working on semantic segmentation application in android using tensorflow-lite.The '.tflite' deeplabv3 model used has input of type (ImageTensor) uint8[1,300,300,3] and ouput of type (SemanticPredictions) uint8[300,300].We were successfully…
anilsathyan7
  • 1,423
  • 17
  • 25
2
votes
0 answers

deeplabv3+ mean subtraction implementated?

I'm currently using deeplabv3+ on my own dataset, therefore I took a closer look at code of some utility functions for preprocessing. It seems, that the mean subtraction is defined in feature_extractor.py but not used in input_preprocess.py which is…
stgzy
  • 21
  • 2
2
votes
2 answers

running deeplab v3+ with tensorRT

i'm trying to optimize a deeplab v3+ model using tensorRT and i get the following errors: UFF Version 0.5.5 === Automatically deduced input nodes === [name: "ImageTensor" op: "Placeholder" attr { key: "_output_shapes" value { list { …
iariav
  • 53
  • 6
1
vote
1 answer

Deeplabv3 validation loss is nan

I had around 360 images splitted %25 as validation data. I could train Deeplabv3 with those images without any issue. Later on I have added around 40 images with labeled images. But the model now started to give validation loss always nan.…
1
vote
0 answers

how to train DeepLabv3+ on coco dataset with detectron

I need to train DeepLabv3+ model on coco dataset. Detectron2 helped a lot when I trained it on cityscapes. Normally, detectron2 tells that when the config file is changed, you can train the model on other datasets. However, when I changed config…
1
vote
1 answer

Type metadata accessor for DeepLabV3Output XCode 13

After building with XCode 13 when app try to predict Image using DeepLabV3's processing APP crash. The same code with Xcode 12 work correctly Someone can help me? thanks enter image description here
1
vote
1 answer

Is there a way to make this code run faster

How can I write this for loop in numpy to make it run faster I am trying to convert grayscale label having values 0-7 to a colored image with corresponding colors def label_img_to_color(img): label_to_color = { 0: [0, 0,0], 1:…
1
vote
0 answers

What is the DeepLab Mobilenet v2 output and how to draw segmentation masks on Android?

I am pretty new to machine learning & Tensorflow. I used transfer learning to train a DeepLab mobilenet v2 model and would like to implement it in Android as tflite. I see that the output array is [1, 320, 320, 3]. I am wondering what the outputs of…
1
vote
0 answers

Deeplabv3 not predicting classes

I'm trying to train deeplabv3 model with mobilenetv3_small_seg architecture. I trained the model but the predictions I get is a complete blank mask with no class predictions. Steps I followed for training are: Cloned official repository in Google…
1
vote
1 answer

How to train deeplabv3 on custom dataset on pytorch?

I am trying to do image segmentation and I got to know the Google work of DeepLabv3. This is the reference to the paper: https://arxiv.org/abs/1706.05587 Chen, L.C., Papandreou, G., Schroff, F. and Adam, H., 2017. Rethinking atrous convolution for…
1 2
3
8 9