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

Extracting features from ResNet101 #33

Open
fmaglia opened this issue Dec 21, 2017 · 0 comments
Open

Extracting features from ResNet101 #33

fmaglia opened this issue Dec 21, 2017 · 0 comments

Comments

@fmaglia
Copy link

fmaglia commented Dec 21, 2017

Hi,

I'm trying to extract features from the last convolutional layer of ResNet101, from the image at its original dimension.
I obtain this error:
ValueError: The shape of the input to "Flatten" is not fully defined (got (None, None, 2048). Make sure to pass a complete "input_shape" or "batch_input_shape" argument to the first layer in your model.
Here is my call:
base_model = resnet101_model(None, None, 3, 0)
Can you help me?

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