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

resnet, unexpected keyword argument 'freeze_bn' #16

Closed
sevenseablue opened this issue Oct 10, 2017 · 5 comments
Closed

resnet, unexpected keyword argument 'freeze_bn' #16

sevenseablue opened this issue Oct 10, 2017 · 5 comments

Comments

@sevenseablue
Copy link

pip install keras_resnet

keras_retinanet/models/resnet.py
resnet = keras_resnet.models.ResNet50(image, include_top=False, freeze_bn=True)
error
init() got an unexpected keyword argument 'freeze_bn'

@hgaiser
Copy link
Contributor

hgaiser commented Oct 10, 2017

Hi there,

keras-retinanet depends on a modified version of keras-resnet, which is not yet merged. If you install this branch instead it should work.

@hgaiser hgaiser closed this as completed Oct 10, 2017
@kaishijeng
Copy link

I install https://github.com/delftrobotics-forks/keras-resnet/tree/bn-freeze and still get the same error
Can you verify?

Thanks,

@kaishijeng
Copy link

Ignore this error because I installed a wrong branch

@sakares
Copy link

sakares commented Nov 8, 2017

@kaishijeng Did you install from branch "bn-freeze"? I still got an error. Thanks

@hgaiser
Copy link
Contributor

hgaiser commented Nov 8, 2017

Since this issue, the PR for BatchNorm freezing has been merged into https://github.com/broadinstitute/keras-resnet . So you should clone that master.

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

4 participants