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

questions on accuracy/edit_distance #15

Closed
MengXinChengXuYuan opened this issue May 30, 2019 · 3 comments
Closed

questions on accuracy/edit_distance #15

MengXinChengXuYuan opened this issue May 30, 2019 · 3 comments

Comments

@MengXinChengXuYuan
Copy link

Hi!
Thank you so much for your awesome work first!
I get some questions on the training process however:

  1. how long does it take to get a 'good' model? I mean, it seems the model converge very slowly? I just pre-trained the model provided as indicated in the readme, loss decrease very fast in the first n steps and will hang around 2-3 for quiet a while, is that normal? Or I just missed some thing?

  2. I tried the model which I can get the best for now, while the steps are not so much, with loss around 3, the mean_edit_distance is 1. Also I tried to calculate the accuracy and I it rest 0... (I can't understand how can the acc be 0... Even if the weights are random, the output will always get some correct hits by accident, right?)I used the code from @ evaluation accuracy #6 , sorry I'm quite new to tf (mainly using pt), I don't know if it's the model always outputs 'none' case it didn't converge or there's something wrong in the scripts?

Hoping for your response! @breadbread1984 @breadbread1984

@MengXinChengXuYuan
Copy link
Author

Hi I know this maybe rude but I still have to ask ...
Are you sure that using the pre-trained model and your code, after training for 20000 steps, it will get a model that converges on the test set?

Sorry but I just followed all the instructions on readme and used the pre-trained C3D provided by another repo, after 20000 steps the model converges good on the train set but stays at loss of 2 on the test set

I don't know where could be wrong, or what could be missed... And I found there are many people facing the same problem as I do, so I really wonder if you can actually get a model achieving 83% accuracy on the test set.

Anyway, I'm quite thankful to your great work! It helps me better understand the paper

One thing in your work which is certainly wrong is that in the paper, for online prediction of untrimmed streams, CTC is only involved as a loss for the LSTM in the training phase. In the test phase the author do not use CTC beam search for the final prediction, but simply use the output of LSTM of every clip (8 frames)

@breadbread1984
Copy link
Owner

this is a casual time project. I can't guarantee its performance. thx for your correction for the implement. any pull request is appreciated.

@buaa-luzhi
Copy link

@MengXinChengXuYuan
Hello, are you still working on this problem. Can you get better results?
Thanks

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

3 participants