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

Have question about the decision network #21

Open
bill2239 opened this issue Jan 17, 2020 · 6 comments
Open

Have question about the decision network #21

bill2239 opened this issue Jan 17, 2020 · 6 comments

Comments

@bill2239
Copy link

Hi,
Thanks for the great work, but I have question about the decision network and how it help with segmentation.
According to your paper, segmentation network is trained separately. When decision network is trained, weights for segmentation network are frozen. So I am wondering if decision network help segmentation network at all or it just do classification. Thanks

@onlyNata
Copy link

You can understand it as attention mechanism. Semantic segmentation can focus on small defects, but direct classification can't.

@bill2239
Copy link
Author

I thought the ultimate goal is producing a good segmentation mask, so I am wondering what the purpose of the decision network in this scenario. Maybe I missed something in there.

@onlyNata
Copy link

Because the result of semantic segmentation is not good enough, it can not distinguish background and defect accurately(the defect too small and low number of samples). then decision network refine the results(using multi-label classified algorith ).

@bill2239
Copy link
Author

That's where the question is, the decision network is trained with segmentation network's weight frozen. So how training the decision network would improve segmentation result in this way.

@onlyNata
Copy link

OK, I see.

"I thought the ultimate goal is producing a good segmentation mask, ..."

No,this is a classification prediction issue.Semantic segmentation is an auxiliary means not ultimate goal. In other words, semantic segmentation is not necessary if the defects are large enough.
the decision network would not improve segmentation result ( a better mask),but reuse the seg-feature(train with segmentation network's weight frozen) can make the classification prediction more
accurate.

@skokec
Copy link
Owner

skokec commented Feb 6, 2020

Hi,

thanks @onlyNata for explained it quite well.

The purpose is NOT segmentation but image level classification. Segmentation is only used as auxiliary step to get good features for classification, since classification will have issues due to small sample sizes limitations that often happens in industrial applications.

In our on-going work, we are doing end-to-end learning, i.e., both segmentation and classification at the same time, but even then it proved better that decision net has minimal or no influence on learning of the segmentation layers.

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

3 participants