126 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
22
views
DeepLabCut unable to select videos on Synology NAS
Hi I've used DLC in the past to get used to the software and test on small batches of video. However, I am not preparing a larger project with a large set of videos. I am working off an PC with an ...
0
votes
0
answers
36
views
Inconsistent results with PyTorch DeepLabV3 model even after fixing random seeds
I encountered non-deterministic behavior when using PyTorch's DeepLabV3 model with pretrained weights. Despite fixing all random seeds, repeated executions still produce different results.
Code for ...
0
votes
1
answer
59
views
Denormalized image with wrong colors in DeepLabV3 shown in Tensorboard using pytorch
I am trying to print some images using the tensorboard. After reading this link I saw that input images are normalized using mean = [0.485, 0.456, 0.406] and std = [0.229, 0.224, 0.225] but once I try ...
1
vote
1
answer
288
views
Best practice to train DeepLabV3 with different resolution images in PyTorch
I am trying to train PyTorch's DeepLabV3 on COCO 2017 dataset for semantic segmetation but I am unsure on how to deal with the different resolution images. I know that DeepLab's architecture can ...
0
votes
0
answers
71
views
What could cause model trainings to have big random loss spikes?
I am currently training a DeepLabv3 variant with EfficientNet as a backbone for semantic segmentation, on tf 2.16.1 with an RTX 4090. On some training instances, at a single random epoch (never the ...
1
vote
0
answers
187
views
I encountered the following problem when running the DeeplabV3 code in Tensorflow according to the official tutorial
Detailed error information is below:
enter image description here
This is my Tensorflow versionenter image description here
The source of the error code comes from:
model, eval_logs = tfm.core....
0
votes
0
answers
40
views
Keras model.fit() returns large array of int with node sparse_categorical_crossentropy error
I am using the example Keras provides to attempt multiclass semantic segmentation using DeepLabV3+ (https://keras.io/examples/vision/deeplabv3_plus/) on images of robotic surgery to segment the ...
1
vote
0
answers
65
views
How to train a DeepLab model with a dataset that contains different size of images without unifying their sizes?
I have a dataset that contains different size of images, and I want to train it on a DeepLab model with pytorch without unifying their sizes .
However, I learned that when training with batch , there ...
1
vote
0
answers
725
views
Pytorch DeepLabV3 mobile export to ONNX
I have finetuned different versions of deeplabv3 implemented in pytorch (https://pytorch.org/vision/main/models/deeplabv3.html)
I am looking to export my 3 models to ONNX after testing them on images.
...
1
vote
1
answer
2k
views
Reimplementing iOS Photos app background removal / image segmentation in Swift?
I have searched all over for examples of how to mimic the newer iOS Photos app capability to lift an object from it's background in my own SwiftUI project, but haven't found anything better than this ...
1
vote
0
answers
400
views
PyTorch error when batch size is 1: ValueError: Expected more than 1 value per channel when training, got input size torch.Size([1, 256, 1, 1]
Below is my deeplab model:
""" DeepLabv3 Model download and change the head for your prediction"""
from torchvision.models.segmentation.deeplabv3 import DeepLabHead
from ...
0
votes
1
answer
257
views
DeeplabV3+ without pretrained backbone, will it the reason for bad DSC?
I segment multiple targets in medical image (CT) with DeeplabV3+, but with 3D volumes, so I can't load pretrained backbone(resnet...etc.) in the net.
And the details is:
patch size: 16, 256, 256(...
0
votes
1
answer
66
views
My model's output is raising an ValueError though it seems to run fine
I am building a deeplabv3+ model but it throws a value error at the output. I am following this tutorial https://www.youtube.com/results?search_query=face+segmentation+with+deeplab3
The code is ...
0
votes
0
answers
53
views
My code runs fine but i get a ValueError "f'Output tensors of a {cls_name} model must be 'the output of a TensorFlow `Layer` '
I am trying to build a DeepLabV3+ model from an article tutorial but I'm getting a ValueError related to the Tensorflow input and output. Please look through it and help me understand what I'm getting ...
2
votes
1
answer
299
views
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 ...