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

loss = 0,train acc = 0 #25

Closed
duynguyen5896 opened this issue Jun 11, 2018 · 8 comments
Closed

loss = 0,train acc = 0 #25

duynguyen5896 opened this issue Jun 11, 2018 · 8 comments

Comments

@duynguyen5896
Copy link

duynguyen5896 commented Jun 11, 2018

Hi astorfi,
I'm trying to use your code to train a model with 31 labels, 60 samples for each label. However, when i use train_softmax.py, last minibatches return loss = 0 while train acc = 0. Do you have any idea to fix it?

image

Thank you.

@duynguyen5896
Copy link
Author

duynguyen5896 commented Jun 18, 2018

Hi astorfi, i see you have "train_softmax.py" for training model. Is this file just used for training all layers of model?

@astorfi
Copy link
Owner

astorfi commented Jun 18, 2018

@duynguyen5896 train_softmax.py is just for training all the layers as you mentioned. It is created for generating the background model. It is hard to say why it's not converging because I do not have access to your data or the details.

@duynguyen5896
Copy link
Author

@astorfi, for the first problem, i realized that my label was higher than 31 and after relabeled from 0 to 30, it works. Thank for your answer, it helps me a lot.

@astorfi
Copy link
Owner

astorfi commented Jun 19, 2018

@duynguyen5896 Good to hear that.

@astorfi astorfi closed this as completed Jun 19, 2018
@duynguyen5896
Copy link
Author

@astorfi , can you tell me how many samples per person you used to train and validate your background model?

@astorfi
Copy link
Owner

astorfi commented Jun 21, 2018

Please refer to this issue for futher details.

@duynguyen5896
Copy link
Author

Thank for your help again @astorfi !!!

@astorfi
Copy link
Owner

astorfi commented Jun 21, 2018

@duynguyen5896 My pleasure

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