We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ref_ids = Info['ref_ids'][0, :]请问这里是不是有问题?因为info['ref_ids']是(n,1),所以如果ref_ids = Info['ref_ids'][0, :]这样的话,读取的只是一个数,这样后面都会乱了。
ref_ids = Info['ref_ids'][0, :]
我修改成ref_ids = Info['ref_ids'][:, 0],然后训练之后,发现结果一直是不对的。请问大神,您知道这是怎么回事吗?
ref_ids = Info['ref_ids'][:, 0]
The text was updated successfully, but these errors were encountered:
@ma3252788 这个请你自己print一下ref_ids = Info['ref_ids'][0, :]后就知道了,你改了之后才是一个数。
Sorry, something went wrong.
No branches or pull requests
ref_ids = Info['ref_ids'][0, :]
请问这里是不是有问题?因为info['ref_ids']是(n,1),所以如果ref_ids = Info['ref_ids'][0, :]
这样的话,读取的只是一个数,这样后面都会乱了。我修改成
ref_ids = Info['ref_ids'][:, 0]
,然后训练之后,发现结果一直是不对的。请问大神,您知道这是怎么回事吗?The text was updated successfully, but these errors were encountered: