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

train UCF101 from scratch accuracy #39

Open
JoeyHang opened this issue Oct 24, 2019 · 1 comment
Open

train UCF101 from scratch accuracy #39

JoeyHang opened this issue Oct 24, 2019 · 1 comment

Comments

@JoeyHang
Copy link

Hi, Thanks a lot for your excellent work.
I have been trying to train UCF101 from scratch without Kinetics or ImageNet pretrained these days using your code. But something's wrong with the test accuracy.
When I trained about 33 epoches, the loss is around 0.1, train accuracy is around 93.6%, test accuracy is around 58%. But when i run 'test.py', the accuracy is only about 8% which is very weird.
I think the test data should be the same in your code 'finetune.py' and 'test.py', but accuracy is quite different. Or is there anything i've been always missing.
My only change to your code is changing 'saver.restore(sess, _CHECKPOINT_PATHS[train_data.mode+'_imagenet'])' line 211 in 'finetune.py' to '#saver.restore(sess, _CHECKPOINT_PATHS[train_data.mode+'_imagenet'])' for learning from scratch.
Please share your thoughts with me, or anyone faced same problem, please let me know.

@lhyfst
Copy link

lhyfst commented May 7, 2020

@JoeyHang Have you solved this problem?

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