Query on segmentation modeling (deeplabv3)
See original GitHub issue- In general, shouldn’t the
input size
andtarget size
match? Why I need to downscale the target samples for training? For example, input size 128, target size 32. - I got the following warning message. Tested on colab.
WARNING:tensorflow:Gradients do not exist for variables [‘deep_lab_v3/feature_pyramid/output_P3/kernel:0’, ‘deep_lab_v3/feature_pyramid/output_P3/bias:0’, ‘deep_lab_v3/feature_pyramid/output_P4/kernel:0’, ‘deep_lab_v3/feature_pyramid/output_P4/bias:0’, ‘deep_lab_v3/feature_pyramid/output_P5/kernel:0’, ‘deep_lab_v3/feature_pyramid/output_P5/bias:0’] when minimizing the loss. If you’re using
model.compile()
, did you forget to provide aloss
argument?
mixed precision
makes loss value tonan
(probably need to cast the output of segmentation head totf.float32
. You might want to introducedtype
param in here.)
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Document Segmentation using DeepLabV3 Semantic ...
We will be using DeepLabv3 semantic segmentation architecture to train a Document Segmentation model on a custom dataset. LearnOpenCV.
Read more >Semantic Segmentation using a Django API — DeepLabV3
Segmentation models use fully convolutional neural networks FCNN during ... The API backend handles querying the database and formatting the ...
Read more >How DeepLabV3 Works | ArcGIS API for Python
The DeepLab model addresses this challenge by using Atrous convolutions and Atrous Spatial Pyramid Pooling (ASPP) modules. This architecture has evolved over ...
Read more >DeepLabV3, segmentation and classification/detection on coral
I see that it assigns labels to colors - how do i associate the labels.txt file that I made based off of the...
Read more >Training a machine learning model on your own dataset with ...
Build a Deep CNN Image Classifier with ANY Images · Human Image Segmentation with DeepLabV3+ in TensorFlow 2.5. · DeepLab v3+ paper walkthrough....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the information. Note that for the accuracy, it might because the backbone we current use doesn’t have the pretrained weights, whereas the tutorial does use the keras application model with imagenet weights.
Thanks for the question.
Sure. Currently the model is just return the raw output from detection head. We could add extra layers to scale up the output to let it match the input shape. (for better comparison).
Let me take a closer look. I guess the FPN weights is not tracked by model correctly. Thanks for the report.
Thanks. Will do.