how to combine two separately trained semantic segmentation neural networks into one to detect mixtures
2 views (last 30 days)
Show older comments
I'm using machine learning to train a semantic segmentation network model to segments certain objects in image files. I have different objects in my image files that i want my network to be able to segment and differentiate. For now i have been abe to separately train networks for each of them and these networks can segment each of the objects in test images containing the specific objects. However i want t have a network that can detect each object in an image containing all 3 types of objects that i want to differentiate. How do i go about this? Can i combine the 3 separate networks i have individually trained to be able to achieve this? What will be the best way to do this. @MathWorks Support Team
0 Comments
Answers (1)
Mahesh Taparia
on 30 Jan 2021
Hi
You can train a single network which can segment the multiple classes in an image. Assign the different label ID of each class and train the network. Then evaluate that trained network on the test dataset. You can refer this documentation of multi class semantic segmentation using deep neural network. Hope it will help!
4 Comments
Mahesh Taparia
on 31 Jan 2021
Hi
In your older comment, you mentioned that you have the labels information of one class in one label image, i.e if the image have 4 classes then you have 4 different label images.
You can combine this label information into 1 image by mapping those label value to 4 different categorical labels (say 1,2,3,4) which is also followed in this documentation. My previous comment was just a sample illustration.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!