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.
Questions tagged [deeplab]
130 questions
38
votes
4 answers
What does backbone mean in a neural network?
I am getting confused with the meaning of "backbone" in neural networks, especially in the DeepLabv3+ paper. I did some research and found out that backbone could mean
the feature extraction part of a network
DeepLabv3+ took Xception and…

zheyuanWang
- 1,158
- 2
- 16
- 30
9
votes
2 answers
Unable to test and deploy a deeplabv3-mobilenetv2 tensorflow-lite segmentation model for inference
We are trying to run a semantic segmentation model on android using deeplabv3 and mobilenetv2.We followed the official tensorflow lite conversion procedure using TOCO and tflite_convert with the help of bazel.The source frozen graph was obtained…

anilsathyan7
- 1,423
- 17
- 25
6
votes
3 answers
ModuleNotFoundError: No module named 'tf_slim'
Using Anaconda to try and setup deeplab (https://github.com/tensorflow/models/tree/master/research/deeplab).
I have gotten through a lot of issues by seeing other questions answered but have hit one that doesn't seem to be answered:
when trying to…

jake
- 71
- 1
- 1
- 3
6
votes
2 answers
What does DeepLab's --train_crop_size actually do?
Following the instructions included in the model, --training_crop_size is set to a value much smaller than the size of the training images. For instance:
python deeplab/train.py \
--logtostderr \
--training_number_of_steps=90000 \
…

John M.
- 2,642
- 7
- 26
- 55
6
votes
2 answers
Too Much Memory Issue with Semantic Image Segmentation NN (DeepLabV3+)
I first explain my task: I have nearly 3000 images from two different ropes. They contain rope 1, rope 2 and the background. My Labels/Masks are images, where for example the pixel value 0 represents the background, 1 represents the first rope and 2…

Mob
- 409
- 1
- 5
- 14
6
votes
0 answers
Unable to load tflite deeplab segmentation model in android application. Error: ByteBuffer is not a valid flatbuffer model
Facing an issue in loading converted TFLite model into android application.
Model: Deeplabv3 Mobilenetv2 (Trained on Pascal VOC)
TFLite version: 1.10
Used tflite_convert for converting pb file into tflite. (Tensorflow version: 1.11.0)
Code:
private…

Sandi
- 155
- 9
5
votes
0 answers
Custom loss for deeplab
I wanted to add custom loss for Deeplab v3 that would work for NOT one hot encoding labels but for saliency prediction. So instead of Deeplab loss implementation that you see below:
label = tf.to_int32(label > 0.2)
one_hot_labels =…

Eva
- 83
- 5
5
votes
1 answer
Why do all images resulting by DeepLabV3+ become black only?
I tried semantic segmentation with the DeepLab v3+ but I got results all black out.
I deleted the original file and put original data in ImageSets/,JPEGImages/ and SegmentationClass/ corresponding to each.
I prepared SegmentationClassRaw image…

y_ kani
- 51
- 2
4
votes
3 answers
How to apply Deeplab V3 in Xcode for real time segmentation?
Actually i am a beginner in swift and Deeplab V3. I literally don't know how to integrate deeplab on Xcode. I only just want to use tensorflow trained example model for semantic segmentation in ios.

Essalah Souad
- 63
- 1
- 6
4
votes
0 answers
Install TensorFlow APIs using Docker environment
I want to train a model using Tensorflow, so to avoid problems of dependence between python, CUDA, Tensorflow....., I decided to use Docker.
To install Tensorflow I used these commands
# install nvidia docker
docker run --runtime=nvidia --rm…

zaki
- 127
- 1
- 10
4
votes
3 answers
Why dilated Convolution Layer doesn't reduce the resolution of the receptive field?
i try to understand dilated convolution. I already familiar with increasing the size of the kernel by filling the gaps with zeros. Its usefull to cover a bigger area and get a better understanding about larger objects.
But please can someone explain…

Lukas
- 41
- 1
- 2
4
votes
1 answer
How to resize segmentation mask obtained from Deeplab v3?
Deeplab v3 returns a reduced/resized image and its corresponding mask. How can I resize the image as well its corresponding mask to better fit to my specification.

Ahmad Bilal Khalid
- 173
- 1
- 10
3
votes
3 answers
Swift - Remove image background with CoreML
I am using CoreML with the DeepLabV3 model to remove the background from an image: https://developer.apple.com/machine-learning/models/
This is working well for removing the background from photos where the subject it a person/dog/car, but for other…

Tom Coomer
- 6,227
- 12
- 45
- 82
3
votes
1 answer
Wild discrepancies between training DeepLab ResNet V3 on Google Colab versus on local machine
I am attempting to train Deeplab Resnet V3 to perform semantic segmentation on a custom dataset. I had been working on my local machine however my GPU is just a small Quadro T1000 so I decided to move my model onto Google Colab to take advantage of…

James Heaton
- 61
- 4
3
votes
3 answers
Segmentation Fault training Deeplab with Cityscapes
I am currently going through the steps to run deeplab the training of the exception_65 backbone on Cityscapes data set but unfortunately i run into a segmentation fault. I can not reproduce the error. E.g. training on PASCAL dataset works well. I…

kuschi
- 31
- 3