java中的接口是类吗
375
2022-11-06
ubuntu 18.04安装LightGBM GPU版本,然后安装catboost
首先安装一些依赖环境:
sudo apt-get install cmake libblkid-dev e2fslibs-dev libboost-all-dev libaudit-devsudo apt-get install ocl-icd-libopencl1
然后编译lightGBM文件:
git clone --recursive ; cd LightGBMmkdir build ; cd buildcmake -DUSE_GPU=1 ..# if you have installed NVIDIA CUDA to a customized location, you should specify paths to OpenCL headers and library like the following:# cmake -DUSE_GPU=1 -DOpenCL_LIBRARY=/usr/local/cuda/lib64/libOpenCL.so -DOpenCL_INCLUDE_DIR=/usr/local/cuda/include/ ..make -j4
然后安装python 版本的catboost.
pip install catboost
如果有装anaconda的话,可以用下面的命令安装:
conda config --add channels conda-forgeconda install catboost
参考文献
[1].lightGBM. is not able to find BOOST libraries). install. https://catboost.ai/docs/installation/python-installation-method-conda-install.html
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~