privateml icon indicating copy to clipboard operation
privateml copied to clipboard

Issue in Feature Extraction.ipynb

Open BhimasenPurohit opened this issue 5 years ago • 1 comments

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.

BhimasenPurohit avatar Sep 10 '18 08:09 BhimasenPurohit

change the index to 6

zerotas avatar Apr 02 '19 03:04 zerotas