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

中途为啥test accurary为0.0啊? #74

Open
Vergissmeinnic opened this issue Aug 9, 2022 · 5 comments
Open

中途为啥test accurary为0.0啊? #74

Vergissmeinnic opened this issue Aug 9, 2022 · 5 comments

Comments

@Vergissmeinnic
Copy link

训练一开始还是挺正常的,就是中途test accurary为0.0了,而且最后的best模型也很低,只有0.44

@Vergissmeinnic
Copy link
Author

缩小了learning_rate之后到0.75左右了,但是始终无法突破0.8

@kankanjiuzou123
Copy link

我的一直都是0.0

@feitianhouren
Copy link

Set the training epochs parameter to a larger value (for example, 100), increase the test frequency (decrease the --test_interval parameter), and carefully observe the accuracy of each test to see if there are non-zero values. In my training, using my own data set (80,000 for training set and 20,000 for test set), after 15 iterations of the network, the accuracy has reached more than 0.94 (the learning rate is 0.00001 at this time), and then continue training (set The epochs value is greater than 15), the train_*.py program will automatically adjust the learning rate back to 0.1, the loss will become larger again, and the accuracy will be reduced to 0.

@yz80325
Copy link

yz80325 commented May 13, 2023

我的一直都是0.0

最后你怎么解决的呢?我也是

@yutao007
Copy link

yutao007 commented Jul 5, 2023

减少训练测试,看到作者在lr的变化区间就到16epoch.所以最好就跑15个epoch。否则调整变化区间

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

5 participants