hemingkx/CLUENER2020

dataloder加载出错

zhw666888 opened this issue · 10 comments

dataloder加载出错

Could you paste your train log (including the error information) here?

因为在整体运行时,dataloader之前需要有一步数据预处理,你参照run.py中的逻辑,每一步对比一下数据就知道了~。

config.json里面有一个"num_labels"参数,需要设置为标签数量~。

是在BERT-CRF/experiments/clue/config.json这个路径下,有这个参数

同理 新数据就不行啦。能否提供代码测试 没有标签的test文本呢。现在都是test数据有标签的

这个文件夹应该是训练后保存模型的吧?我在开始换新数据的时候就跑不动了

---原始邮件--- 发件人: "Heming @.> 发送时间: 2021年6月10日(周四) 上午8:40 收件人: @.>; 抄送: @.@.>; 主题: Re: [hemingkx/CLUENER2020] dataloder加载出错 (#2) 是在BERT-CRF/experiments/clue/config.json这个路径下,有这个参数 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
想问一下你的问题解决了吗?我也是换新的数据运行会报错。
RuntimeError: CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling cublasCreate(handle)
在config文件中添加“num_labels”,也是报上面这个错误。