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

可以运行,只不过效果不是很好,但是也不至于像你们说的是骗子程序把? #5

Open
ghost opened this issue Dec 2, 2019 · 6 comments

Comments

@ghost
Copy link

ghost commented Dec 2, 2019

No description provided.

@ghost
Copy link
Author

ghost commented Dec 2, 2019

博主辛辛苦苦分享被这样说,醉了。。。

@wangying1586
Copy link

辛苦~~~ 博主 很厉害 博主能指导下吗~~~ 我不知道怎么运行出来

@ghost
Copy link

ghost commented Jul 23, 2020

请问您怎么解决sentences = [' '.join([self.ix2word[idx] for idx in sent])这句话出错的问题的,可以分享一下吗

@zhangbw17
Copy link

请问您怎么解决sentences = [' '.join([self.ix2word[idx] for idx in sent])这句话出错的问题的,可以分享一下吗

idx.item()代替索引中的idx,下标索引不能是tensor

@zhuchiheng
Copy link

多谢@zhangbw17, 问题解决

@baokunaha
Copy link

啊啊啊啊有没有大佬教教我怎么跑起来啊,我真的好感兴趣,但是跑不起来感觉学不下去了都要

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

4 participants