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

Help for implementing SegNet for predicting Single class #146

Open
ArunJ1 opened this issue Mar 20, 2019 · 0 comments
Open

Help for implementing SegNet for predicting Single class #146

ArunJ1 opened this issue Mar 20, 2019 · 0 comments

Comments

@ArunJ1
Copy link

ArunJ1 commented Mar 20, 2019

Dear All,
I am trying to implement SegNet to detect Speedhumps in a given image. I have created my custom dataset, by capturing images of Speedhump and labeling them.

I have a few issues and could you please kindly guide me?

As suggested in the above link, I have set num_output in softmax loss layer as "2". I removed the ignore label also.

  1. I have labeled my image dataset as follows
    Pixel value 0 for Background
    Pixel value 1 for Speedhump.
    So, is it okay or I need to set Pixel value as 1 for Background and Pixel value 0 for Speedhump? If I need to do so, please guide me with any easy ways to change it quickly.

  2. Is it Mandatory to calculate and apply the class weighting?

I really appreciate any help regarding the above issues

Thanks in advance,
Arun

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

1 participant