-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
TypeError: only integer scalar arrays can be converted to a scalar index #75
Labels
question
Further information is requested
Comments
Repository owner
deleted a comment from
Lijiaxing-lx
May 5, 2022
Repository owner
deleted a comment from
zhoujinyang1996
May 5, 2022
Repository owner
deleted a comment from
DaemonicCao
May 5, 2022
同问 |
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
您好,邮件已收到。我将尽快给你回复。
|
请问跑通了吗 |
word = vocabs[idx] 修改为 |
我这边是因为labels出现了三维array这种数据,所以我加了一个步骤,将其降维成一维就好了
|
感谢🙏
发自我的iPhone
… 在 2022年5月4日,上午11:16,zhoujinyang1996 ***@***.***> 写道:
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
我这边也是这个问题,跑起来了,就是不知道这样改有问题没 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last):
File "D:/seq2seq-couplet-master/couplet.py", line 23, in
m.train(5000000)
File "D:\seq2seq-couplet-master\model.py", line 164, in train
bleu_score = self.eval(step)
File "D:\seq2seq-couplet-master\model.py", line 194, in eval
self.eval_reader.vocabs).split(' ')
File "D:\seq2seq-couplet-master\reader.py", line 25, in decode_text
word = vocabs[idx]
TypeError: only integer scalar arrays can be converted to a scalar index
进程已结束,退出代码1
The text was updated successfully, but these errors were encountered: