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

Why the last layer in fully connected layer is 5? #44

Open
pmtang opened this issue Nov 22, 2021 · 1 comment
Open

Why the last layer in fully connected layer is 5? #44

pmtang opened this issue Nov 22, 2021 · 1 comment

Comments

@pmtang
Copy link

pmtang commented Nov 22, 2021

Thanks for the great project. I was wondering why you set the last layer to 5 in the fully connected network? Is there any reason to do that? I couldn't find explanation in the article also.
self.fc1 = nn.Sequential( nn.Linear(8*100*100, 500), nn.ReLU(inplace=True), nn.Linear(500, 500), nn.ReLU(inplace=True), nn.Linear(500, 5))

@pmtang pmtang changed the title Why the last layer has 5 neuron? Why the last layer in fully connected layer is 5? Nov 22, 2021
@Sujie1528
Copy link

I think it's just a design choice. Setting it to 10 or 15 would probably just work fine.

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