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

RuntimeError: cuda runtime error (59) : device-side assert triggered at /opt/conda/conda-bld/pytorch_1565272279342/work/aten/src/THC/generic/THCTensorScatterGather.cu:380 #2

Open
wyc2015fq opened this issue Mar 21, 2020 · 4 comments

Comments

@wyc2015fq
Copy link

请问这个是什么原因,和cuda版本有关系吗?

@fengxinjie
Copy link
Owner

我没遇到过这个问题,我用的是cuda9

@wyc2015fq
Copy link
Author

@fengxinjie 谢谢回复。转成cuda9是ok的。原因是我的数据中含有< >"这样的字典,在转化过程标签对应的索引有问题,请问如何把这些符号也加入到vocab中啊。

@fengxinjie
Copy link
Owner

@fengxinjie 谢谢回复。转成cuda9是ok的。原因是我的数据中含有< >"这样的字典,在转化过程标签对应的索引有问题,请问如何把这些符号也加入到vocab中啊。

我是为了方便打标签才用<>做边界符的,你可以直接指定边界符的id就可以了,不用符号。

@wyc2015fq
Copy link
Author

@fengxinjie 非常感谢,还有一个问题就是:我在训练的时候发现对大小写区分的不是很好,请问这个是什么原因,有好的解决建议吗?

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

2 participants