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

fully connected layers #20

Open
victorzhucompass opened this issue Aug 12, 2020 · 2 comments
Open

fully connected layers #20

victorzhucompass opened this issue Aug 12, 2020 · 2 comments

Comments

@victorzhucompass
Copy link

This is great work. Thanks. Just wondering are there any particular reason the model does not include fully connected layers like VGG16 before softmax.

@yunxiaoshi
Copy link
Owner

yunxiaoshi commented Aug 30, 2020

I actually missed that long time ago, by adding something like

fc1 = list(model.classifier.children())[0]

to model.py should do the trick

@victorzhucompass
Copy link
Author

great, any update after adding this layer into the model and retrain? wondering whether the learning rates are same setup.

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