Semantic segmentation model training method and system based on ohm
A technology for semantic segmentation and model training, applied in character and pattern recognition, instruments, computer parts, etc., can solve the problems of poor segmentation model training results and small proportions, and achieve the effect of improving the effect and training speed.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0040] like figure 1 As shown, an ohem-based semantic segmentation model training method includes the following steps:
[0041] S101. Calculate the loss function of each category:
[0042] a. Input the sample image into the semantic segmentation model, and obtain the confidence p of each pixel in the image belonging to each category.
[0043] In this embodiment, the semantic segmentation model adopts the Deeplabv3+ model.
[0044] Input the sample image with pixel size of 3*H*W into the Deeplabv3+ model, and you will get an output N*H*W, where H and W are the height and width of the image, and N represents the number of image output channels (channels), that is, the model The number of semantic categories in which the image is segmented, specifically, each output channel represents the confidence of whether each pixel belongs to a certain category, and the value of the confidence is distributed between 0-1.
[0045] b. Take all positive sample pixels for the current categor...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


