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

请问数据读取是否有问题呢? #36

Closed
ma3252788 opened this issue May 22, 2021 · 1 comment
Closed

请问数据读取是否有问题呢? #36

ma3252788 opened this issue May 22, 2021 · 1 comment

Comments

@ma3252788
Copy link

ma3252788 commented May 22, 2021

ref_ids = Info['ref_ids'][0, :]请问这里是不是有问题?因为info['ref_ids']是(n,1),所以如果ref_ids = Info['ref_ids'][0, :]这样的话,读取的只是一个数,这样后面都会乱了。

我修改成ref_ids = Info['ref_ids'][:, 0],然后训练之后,发现结果一直是不对的。请问大神,您知道这是怎么回事吗?

@lidq92
Copy link
Owner

lidq92 commented May 22, 2021

@ma3252788 这个请你自己print一下ref_ids = Info['ref_ids'][0, :]后就知道了,你改了之后才是一个数。

@lidq92 lidq92 closed this as completed May 22, 2021
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