-
Notifications
You must be signed in to change notification settings - Fork 90
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
数据集报错 #23
Comments
我也遇到同样的问题,请问解决了吗? |
暂时还没解决,解决了请告知一下 |
试试调小些bs呢?可能是上来把所有数据训成某一类了 |
line 455-459: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
用你的数据集thucnews跑多分类是OK的,用自己的数据集一直出现这个错误,请问数据集需要怎么处理吗?
Traceback (most recent call last):
File "run_fastbert.py", line 652, in
main()
File "run_fastbert.py", line 589, in main
result = evaluate(args, False, False)
File "run_fastbert.py", line 445, in evaluate
p = confusion[i,i].item()/confusion[i,:].sum().item()
ZeroDivisionError: division by zero
The text was updated successfully, but these errors were encountered: