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

Issue in Feature Extraction.ipynb #2

Open
BhimasenPurohit opened this issue Sep 10, 2018 · 1 comment
Open

Issue in Feature Extraction.ipynb #2

BhimasenPurohit opened this issue Sep 10, 2018 · 1 comment

Comments

@BhimasenPurohit
Copy link

I am running the Feature Extraction.ipynb code. I am getting this error in extractor defining code.

Code:
 extractor = keras.models.Model(
    inputs=model.input, 
    outputs=flatten_layer.output
)

AssertionError Traceback (most recent call last)
in ()
1 flatten_layer = model.get_layer(index=7)
----> 2 assert flatten_layer.name.startswith('flatten_')
3
4 extractor = keras.models.Model(
5 inputs=model.input,

AssertionError:

There is no clear indication of what error i am facing. Can anybody help.

@zerotas
Copy link

zerotas commented Apr 2, 2019

change the index to 6

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