-
Notifications
You must be signed in to change notification settings - Fork 23
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.py在Conll-2003数据集上时遇到value error #19
Comments
我又尝试了从CoNLL-2003官方网站上下载的txt文件,仍旧会出现同样的问题 |
此外,我尝试了降级numpy到1.21.6,以上问题解决了,但是会导致新的runtime error:
在终端中,进度条刚打开,下一轮epoch又立马开始 |
一定要在linux系统下才能跑成功 |
你好请问目前解决了吗,我也遇到了这个问题 |
我尝试运行train.py在CoNLL-2003数据集,但是遇到了如下问题:
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.
我在conll-2003的文档中保存数据以如下形式:
EU B-ORG
rejects O
German B-MISC
call O
to O
boycott O
British B-MISC
lamb O
. O
Peter B-PER
Blackburn I-PER
BRUSSELS B-LOC
1996-08-22 O
...
请问有人遇到类似的情况吗
The text was updated successfully, but these errors were encountered: