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 fc7 layers, Why most of the points are 0? #57

Open
ravising-h opened this issue Oct 20, 2019 · 0 comments
Open

Extracting fc7 layers, Why most of the points are 0? #57

ravising-h opened this issue Oct 20, 2019 · 0 comments

Comments

@ravising-h
Copy link

from keras_vggface.vggface import VGGFace
vgg_features = VGGFace(include_top=True, input_shape=(224, 224, 3))
vgg_features.layers.pop()
vgg_features.layers.pop()
vgg_features.outputs = [vgg_features.layers[-1].output]
vgg_features.layers[-1].outbound_nodes = []

I was extracting 4096 Features through the code.
Why the Result array has lot of zeroes in it ?

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