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

the test accuracy of the same test dataset is different when using the same model #53

Open
leluoye opened this issue Oct 22, 2018 · 3 comments

Comments

@leluoye
Copy link

leluoye commented Oct 22, 2018

Hi,
@dutran , thank you for your great work.
I finetuned the r2plus1d model on my own dataset using train_net.py, then, I got the best test accuracy 0.72 and the corresponding model r2plus1d_3.mdl. However, when I use the same test dataset and the r2plus1d_3.mdl to run test_net.py, the test accuracy is low. It is about 0.2. And I also tried to extract the features using extract_features.py and then got the test accuracy using dense_prediciton_aggregation.py. The test accuracy is low too, it is at most 0.12.
It makes me feel confused. Why is the test accuracy so different?
I know the value of the decode_type may influence the test accuracy, but I wonder if there are any other reasons that could affect the test accuracy? Could you give me some advice? Thank you.

@dutran
Copy link
Contributor

dutran commented Oct 23, 2018

It is hard to tell why it gives you different performance since you did not provide enough data/info here. But it's worth for you to check if you have the same hyper-parameter settings with train_net vs. test_net and featture_extraction?

@leluoye
Copy link
Author

leluoye commented Oct 24, 2018

Thank you for your response.
Follow the guideline, the .csv file of input data in train_net and test_net is "org_video, label", the .csv file of input data in feature_extraction is "org_video, label, start_frm, video_id". Then, I create lmdb file. The hyper-parameters setting with train_net, test_net and feature_extraction are shown in the picture.
image

I was checked the hyper-parameter, but I could not find anything wrong. Thank you.

@nicebaby
Copy link

@leluoye Hi,does it work for you?

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