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

SqueezeNet training accuracy stuck at 0.37 for face recognition task #16

Open
madhurkashyap opened this issue Mar 20, 2018 · 0 comments

Comments

@madhurkashyap
Copy link

Tensorflow Version

1.6

Keras Version

2.1

Keras-squeezenet Version

Latest

Bug reports:

I am training SqueezeNet on my own face database created from YouTube videos. Apparently the training accuracy is not improving to this magic number of ~0.37. In order to deal with label noise I have tried to include

Are there any known limitations or any help that can be provided would be useful.

Code Sample:

sqnet = SqueezeNet();
sqnet.layers[-1].activation = relu
sqnet.layers[-1].name = 'fc_1'
out = Dense(6, activation='softmax',
name='classifier')(sqnet.layers[-1].output)
sqnet = Model(sqnet.input, out)
for i in range(3,len(sqnet.layers)):
sqnet.layers[-i].trainable = False
sqnet.compile(Adam(),loss='categorical_crossentropy',
metrics=['acc'])
history = sqnet.fit_generator(
trg227,
steps_per_epoch=None,
epochs=2, verbose=1,
validation_data=valg227,
validation_steps=None,
workers=1,
use_multiprocessing=False,
shuffle=True,
initial_epoch=0)

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