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

wrong way in adding flatten layer #3

Open
bacterous opened this issue Jun 8, 2018 · 1 comment
Open

wrong way in adding flatten layer #3

bacterous opened this issue Jun 8, 2018 · 1 comment

Comments

@bacterous
Copy link

bacterous commented Jun 8, 2018

In googLeNet.py line 49:
linear = Dense(units=1000, activation="softmax", `kernel_regularizer=l2(0.01))(keras.layers.core.Flatten(drop1))
while it should be:
linear = Dense(units=1000, activation="softmax", kernel_regularizer=l2(0.01))(keras.layers.core.Flatten()(drop1))

@ghost
Copy link

ghost commented Apr 25, 2019

hello, have you ever solved the problem? Could you please give me some advice? thank you

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