ITADN

Segmentation fault(core dumped) when using lightGBM model with num_iterations=1600

#77Opendragonbra 创建于 2024-06-07
D
dragonbracommented
I tried to compile my model with lleaves ```python llvm_model = lleves.Model(model_file='model_at_iteration_1600.txt') llvm.compile(cache='./lleaves_1600.o') ``` it tooks 13 min to compile, and when I use it to predict Xmat with shape(3831, 1111), it failed ``` preds = llvm_model.predict(Xmat) ``` > Segmentation_fault (core dumped) Is it because the lgbm_model is too large? I have already kept only 1600 trees of 25000 in the model. For each tree, I set max_depth = 7 and num_leaves = 64
0 条评论