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

Fix some layers for keras 2.0+ #45

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

ntuaha
Copy link

@ntuaha ntuaha commented Jun 3, 2018

Thanks for your project. It is very helpful.
Before running your resnet152 model, I fixed some codes for keras 2.0.
According to Keras official document ( ref to: https://github.com/keras-team/keras/wiki/Keras-2.0-release-notes), The Inferface of Conv2D are changed as follows:

  1. float kernel dimension arguments become a single tuple argument, kernel size. E.g. a legacy call Conv2D(10, 3, 3) becomes Conv2D(10, (3, 3))
  2. subsample -> strides. Can also be set to an integer.
  3. bias -> use_bias
    (... more...)

I hope it is useful to you.

Best wishes

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

Successfully merging this pull request may close these issues.

1 participant