End-to-end training of a two-stage neural network for defect detection

07/15/2020
by   Jakob Božič, et al.
0

Segmentation-based, two-stage neural network has shown excellent results in the surface defect detection, enabling the network to learn from a relatively small number of samples. In this work, we introduce end-to-end training of the two-stage network together with several extensions to the training process, which reduce the amount of training time and improve the results on the surface defect detection tasks. To enable end-to-end training we carefully balance the contributions of both the segmentation and the classification loss throughout the learning. We adjust the gradient flow from the classification into the segmentation network in order to prevent the unstable features from corrupting the learning. As an additional extension to the learning, we propose frequency-of-use sampling scheme of negative samples to address the issue of over- and under-sampling of images during the training, while we employ the distance transform algorithm on the region-based segmentation masks as weights for positive pixels, giving greater importance to areas with higher probability of presence of defect without requiring a detailed annotation. We demonstrate the performance of the end-to-end training scheme and the proposed extensions on three defect detection datasets - DAGM, KolektorSDD and Severstal Steel defect dataset - where we show state-of-the-art results. On the DAGM and the KolektorSDD we demonstrate 100% detection rate, therefore completely solving the datasets. Additional ablation study performed on all three datasets quantitatively demonstrates the contribution to the overall result improvements for each of the proposed extensions.

READ FULL TEXT

page 1

page 2

page 4

page 6

page 8

research
01/08/2018

End-to-end detection-segmentation network with ROI convolution

We propose an end-to-end neural network that improves the segmentation a...
research
07/12/2021

End-to-end Trainable Deep Neural Network for Robotic Grasp Detection and Semantic Segmentation from RGB

In this work, we introduce a novel, end-to-end trainable CNN-based archi...
research
05/03/2019

Seamless Scene Segmentation

In this work we introduce a novel, CNN-based architecture that can be tr...
research
05/22/2019

End-to-End Learned Random Walker for Seeded Image Segmentation

We present an end-to-end learned algorithm for seeded segmentation. Our ...
research
12/12/2020

Computer Vision and Normalizing Flow Based Defect Detection

Surface defect detection is essential and necessary for controlling the ...
research
01/23/2019

Automated Essay Scoring based on Two-Stage Learning

Current state-of-art feature-engineered and end-to-end Automated Essay S...
research
09/01/2021

An End-to-End learnable Flow Regularized Model for Brain Tumor Segmentation

Many segmentation tasks for biomedical images can be modeled as the mini...

Please sign up or login with your details

Forgot password? Click here to reset