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

Check failed: [max_elem + n_columns*(max_elem + 1) < 0x7fffffff] Max_values is too large to be transformed.请问这个问题怎么解决? #81

Open
ninding opened this issue Apr 24, 2023 · 2 comments

Comments

@ninding
Copy link

ninding commented Apr 24, 2023

2023-04-24 20:27:01,870 INFO [default] #instances = 349746, #features = 82
2023-04-24 20:27:01,874 INFO [default] convert csr to csc using gpu...
2023-04-24 20:27:02,171 INFO [default] Converting csr to csc using time: 0.297256 s
2023-04-24 20:27:02,171 INFO [default] Fast getting cut points...
2023-04-24 20:27:02,172 FATAL [default] Check failed: [max_elem + n_columns*(max_elem + 1) < 0x7fffffff] Max_values is too large to be transformed
2023-04-24 20:27:02,172 WARNING [default] Aborting application. Reason: Fatal log at [/home/zeyi/thundergbm/src/thundergbm/hist_cut.cu:99]
@ninding
Copy link
Author

ninding commented Apr 25, 2023

和TGBM相关的代码

model.classifier = TGBMClassifier()
model.classifier.fit(train_X, train_y)

@hliuca
Copy link

hliuca commented Jun 7, 2023

0x7fffffff, that is the maximal integer for int32. int64 should be used for index.

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