-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
[BLOCKING] /root/repo/xgboost/src/objective/regression_obj.cu:65: Check failed: preds.Size() == info.labels_.Size() (904 vs. 3616) labels are not correctly providedpreds.size=904, label.size=3616 #4163
Comments
I get this on all or most (not sure) regression problems |
@pseudotensor It might be my fault on #4147 . But I ran your script fine:
|
@hcho3 If confirmed that PR is to blame, I will summit a PR to revert and reopen the closed bug since I can't reproduce. |
Ok, I will check different hash |
@pseudotensor @trivialfis I actually reproduced the bug on my Linux machine with the latest master. On the other hand, with commit hash 0ff84d9, the example runs fine. |
Let's see if there is a quick fix for this |
Okay, found the issue: somehow the variable Lines 140 to 141 in c8c472f
is not correct. The num should have been 904 in the given example but now is being set to 3616.
|
@hcho3 Thanks! Seems my master branch is one commit behind. Sorry about that. Looking into this. |
@trivialfis I actually have a one-liner fix. Trying to fix the test |
@hcho3 Yap. the xgboost/python-package/xgboost/core.py Line 225 in c8c472f
|
@trivialfis It turns out that |
@hcho3 Okay, I will revert it tomorrow. Really need some sleep now. It's 6AM at my place... |
@trivialfis I'll take care of it. Good night |
@pseudotensor Fix is available at #4165. Thanks for reporting the bug. |
Thanks! |
1dac5e2 on fresh build off dmlc
failxgbregression.zip
@hcho3 seems to be major regression after recent fixes. Seems all regression problems have the issue.
The text was updated successfully, but these errors were encountered: