Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training with low number of samples #20

Open
sinangokce opened this issue Jan 16, 2020 · 1 comment
Open

Training with low number of samples #20

sinangokce opened this issue Jan 16, 2020 · 1 comment

Comments

@sinangokce
Copy link

Hello,

I read your paper Segmentation-Based Deep-Learning Approach for Surface-Defect Detection and amazed by your results. However, I couldn't understand very well what property of your network allows a training with low number of samples regarding only the segmentation part. I would be very happy if you could give an explanation.

Best regards!

@skokec
Copy link
Owner

skokec commented Feb 6, 2020

Hi,

Sorry for late reply.

The problem with limited sample sizes is that due to a large number of parameters (over 1 - 10 mio) the problem is overdetermined and model will overfit those parameters to the small training set.

But with segmentation, each pixel (or group of around 8x8 pixels, depending on down-sampling) is its own sample. This means that even in one high-resolution image you would get over 1000 or 10.000 training samples, which would limit the overfitting issue. In our network, then just by having lower layer (with most number of parameters) trained first on segmentation will result in good features for classification, which then allows to learn top features for classification from only a limited samples size.

I hope this explains it.

Best,
Domen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants