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
3
votes
1 answer
Make the DeepLabV3 loss function weighted
I am using the DeepLabV3+ repository and I noticed that the loss_weight is set to 1.0 which means that we are weighting classes in the same way. However, I have a really unbalanced dataset, something like 80% negative and 20% positive.
def…

vftw
- 1,547
- 3
- 22
- 51
3
votes
3 answers
Setting up DeepLabV3 in colab
So I am trying to set up deeplab in colab.
I am running:
[1]
from google.colab import drive
drive.mount('/content/drive')
%cd /content/drive/My\ Drive/deeplab_files
[2]
%env PYTHONPATH=/content/drive/My\ Drive/deeplab_files/:/content/drive/My\…

Gabe
- 105
- 2
- 9
2
votes
1 answer
In need of a Labelencoder code to fix the InvalidArgumentError: Graph execution error when Using deeplabv3+ for a 4 class semantic segmentation
Am running a 4 class semantic segmentation problem using Deeplabv3+ and I get the graph execution error as soon as the training starts.
I have identified the problem after searching the web for solutions. The problem is with the labels. My labels…

Enigma
- 23
- 4
2
votes
1 answer
What should the input to DeepLabV3 be in training mode?
I am trying to train a deeplabv3_resnet50 model on a custom dataset, but get the error ValueError: Expected more than 1 value per channel when training, got input size torch.Size([1, 256, 1, 1]) when trying to do the forward pass. The following…

user3221037
- 77
- 5
2
votes
1 answer
Deeplabv3 re-train result is skewed for non-square images
I have issues fine-tuning the pretrained model deeplabv3_mnv2_pascal_train_aug in Google Colab.
When I do the visualization with vis.py, the results appear to be displaced to the left/upper side of the image if it has a bigger height/width, namely,…

Darkhorrow
- 37
- 1
- 9
2
votes
0 answers
How can I tackle GPU OOM issues with Resnet, FCn, DeepLab image segmentation evaluations?
I'm working off of a youtube tutorial about image segmentation in Python: link
This tutorial is based on others which I have been referencing for refinement purposes, specifically this one:
OpenCV Pytorch Segmentation
I'm using the NVDIA 2070…

Zandrew Sonnemaker
- 21
- 1
2
votes
1 answer
Black screen output using Tensorflow's DeepLab
I trained DeepLab on my own dataset with both initialize_last_layer and last_layers contain_logits only both False. I have just 2 classes the background and the label. I tried using --num_classes=2 and3but nothing worked. My ignore_label is 255…

Muhammad Aleem
- 65
- 1
- 8
2
votes
1 answer
How can I train tensorflow deeplab model?
I need to train tensorflow deeplab model with my shoes dataset. Then i will use this model in order to remove background of image shoe. How could i train it ? Could you explain step by step ? You have any example for this situation…

ComplexityMan
- 39
- 3
2
votes
1 answer
Deeplab: error when converting dataset to TFRecord by running "sh convert_cityscapes.sh"
I am trying to run DeepLab: Deep Labelling for Semantic Image Segmentation on my laptop for a while now. I have followed the installation guide and have run python deeplab/model_test.py successfully.
The next step is running Cityscape dataset, where…

Shaown
- 89
- 2
- 12
2
votes
1 answer
How to test model on PascalVOC 2012 or COCO test sets when no annotations are provided for them?
I am new to the field of computer vision, so I apologise if the question is inappropriate in any way.
I have created a segmentation model using the PascalVOC 2012 data set, and so far I have only been able to test it on the train and val data sets.…

MrFlairDigest
- 43
- 3
2
votes
2 answers
Blur and Motion Blur augmentation
I am using Deeplabv3+ repository and I would like to know how do you apply Motion Blur and Blur as augmentation. I have a few augmentations already, like random scale (example).
However, I could not find any out of the box solution to apply Motion…

vftw
- 1,547
- 3
- 22
- 51
2
votes
0 answers
Get more accuracy DeepLab then the pretrainned model
I have a question in deeplab v3 accuracy right now the best accuracy(mIOU) achieved by the model xception65_coco_voc_trainval 87.80. I was wondering that can we further increase it if i train the model for less number of class lets say for person…

Azerue
- 258
- 6
- 16
2
votes
1 answer
Get class wise probability scores for each Semantic class in Image Segmentation using Google's DEEPLAB V3+
I am trying to extract the pixel wise probabilities for each semantic class present in an Image when performing semantic segmentation using Google's DeepLab V3+.
I am following the demo given here -…

Sid Gairola
- 101
- 1
- 6
2
votes
0 answers
How to set training weight on softmax during training
I'm reproducing Auto-DeepLab with PyTorch and I got a problem, that is, I can't set the architecture weight(both cell and layer) on softmax. It either leads to twice backward or weights get no upgrade with gradients but only softmax.
class Architect…

Hank Kung
- 21
- 4
2
votes
0 answers
Creating new Tensorflow Devices multiple times
I'm trying to run tensorflow-deeplab-v3 model on a server to segmentate images that I send. Everything works fine but the problem is every time I send an image the model looks for GPU and creates a new GPU device and this process of device creation…

puyayavari
- 21
- 1