成功解决 raise XGBoostError(_LIB.XGBGetLastError()) xgboost.core.DMatrix/Booster has not been intialized

简介: 成功解决 raise XGBoostError(_LIB.XGBGetLastError()) xgboost.core.DMatrix/Booster has not been intialized

解决问题


raise XGBoostError(_LIB.XGBGetLastError())

xgboost.core.XGBoostError: b'[21:13:03] C:\\Users\\Administrator\\Desktop\\xgboost\\src\\c_api\\c_api.cc:756: DMatrix/Booster has not been intialized or has already been disposed.'



解决思路


引发xgboost错误



解决方法


参考文章:成功解决xgboost.core.XGBoostError: b'[20:58:45] C:\\Users\\Administrator\\Desktop\\xgboost\\dmlc-core\\shttps://blog.csdn.net/qq_41185868/article/details/90487925


哈哈,大功告成!


相关文章
|
2月前
|
并行计算 TensorFlow 算法框架/工具
【Tensorflow】解决 Could not load dynamic library ‘libcudart.so.10.1‘; dlerror: libcudart.so.10.1
原因是CUDA10.1不支持Tensorflow2.2+。那就使用Tensorflow2.0。
63 2
|
2月前
|
Python
A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash. To support
本文讨论了在NumPy 2.0.0版本更新后可能出现的兼容性问题,并提供了通过降级NumPy版本至1.x的解决方法,以支持尚未更新的模块或库。
|
3月前
|
数据安全/隐私保护 Python
【Python】已解决:WARNING: Ignoring invalid distribution -addlepaddle (d:\soft\python36\lib\site-packages)
【Python】已解决:WARNING: Ignoring invalid distribution -addlepaddle (d:\soft\python36\lib\site-packages)
423 1
|
5月前
|
计算机视觉 Python
python opencv:ERROR: Could not find a version that satisfies the requirement opencv ERROR:
python opencv:ERROR: Could not find a version that satisfies the requirement opencv ERROR:
139 2
|
4月前
|
机器学习/深度学习 并行计算 安全
ImportError: DLL load failed while importing libpaddle: 找不到指定的模块问题
【6月更文挑战第7天】ImportError: DLL load failed while importing libpaddle: 找不到指定的模块问题
174 0
|
5月前
|
机器学习/深度学习 并行计算 安全
ImportError: DLL load failed while importing libpaddle: 找不到指定的模块。问题处理
【5月更文挑战第12天】ImportError: DLL load failed while importing libpaddle: 找不到指定的模块。问题处理
1451 0
ORB_SLAM2_CUDA : Make failed - Compiling examples - Undefined References
ORB_SLAM2_CUDA : Make failed - Compiling examples - Undefined References
99 0
|
并行计算 编译器 TensorFlow
win10 install tensorflow error:Loaded runtime CuDNN library: 7102 but source was compiled with 7005
win10 install tensorflow error:Loaded runtime CuDNN library: 7102 but source was compiled with 7005
160 0
|
机器学习/深度学习 Ubuntu
【解决方案】解决ImportError: Library “GLU“ not found.问题
【解决方案】解决ImportError: Library “GLU“ not found.问题
1017 0
|
数据可视化 异构计算
TensorBoard报错:Could not load dynamic library ‘cudart64_110.dll‘; dlerror: cudart64_110.dll not found
TensorBoard报错:Could not load dynamic library ‘cudart64_110.dll‘; dlerror: cudart64_110.dll not found
785 0
TensorBoard报错:Could not load dynamic library ‘cudart64_110.dll‘; dlerror: cudart64_110.dll not found