-
Notifications
You must be signed in to change notification settings - Fork 115
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
二分类index error问题 #38
Comments
您好,可以提供下使用的alipy版本吗?如果可能也请提供下代码和数据方便我们复现问题,谢谢 |
使用的是alipy 1.2.5,代码和数据发您了,谢谢! |
我尝试运行了您的代码,没有出现问题。我建议您试试把代码目录下train_idx.txt, unlabel_idx.txt, test_idx.txt, label_idx.txt四个文件删除或改名再试试看。这可能是改了数据集而没有重新划分数据的原因,alipy检测到当前目录存在划分文件,所以读取了现有的数据划分而没有重新划分导致出错(这本来会输出warning信息,但是代码开头抑制了warning输出) |
我把之前相关的文件删除了,问题解决了,谢谢您!这个问题困扰了好久了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
您好!我在进行二分类,可以确定输入的x和y都是没有问题的,请问为什么会出现index error呢?还有就是这个41712是在哪里出现的呢?
The text was updated successfully, but these errors were encountered: