Lightgbm-GPU运行出错(2017.11)boost::filesystem::create_directory...Abort (core dumped)
来源:互联网 发布:淘宝卖家店铺工具分析 编辑:程序博客网 时间:2024/06/11 12:26
问题描述
在编译lightgbm GPU版本时并没有出错,但是在运行demo时发生了错误,错误如下:
部分logo:
[LightGBM] [Warning] boost::filesystem::create_directory: No such file or direct ory
[LightGBM] [Warning] boost::filesystem::create_directory: No such file or direct ory
[LightGBM] [Warning] boost::filesystem::create_directory: No such file or direct ory
[LightGBM] [Warning] boost::filesystem::create_directory: No such file or direct ory
[LightGBM] [Warning] boost::filesystem::create_directory: No such file or direct ory
[LightGBM] [Warning] boost::filesystem::create_directory: No such file or direct ory
[LightGBM] [Warning] boost::filesystem::create_directory: No such file or direct ory
[LightGBM] [Warning] boost::filesystem::create_directory: No such file or direct ory
terminate called without an active exception
Aborted (core dumped)
解决方法
后来发现,源文件目录:src/treelearner/gpu_tree_learner.h的第26行代码:
#define BOOST_COMPUTE_USE_OFFLINE_CACHE
如果包含这个这个宏 BOOST_COMPUTE_USE_OFFLINE_CACHE,就会导致要寻找缓存目录,因此将其注释,并clean然后重新编译源文件,然后就能安装使用了。为了让大家能直接使用lightgbm,特将编译好的gpu版本的lightgbm上传。安装方法。
$ cd python-package$ python setup.py install
下载地址:传送门
- Lightgbm-GPU运行出错(2017.11)boost::filesystem::create_directory...Abort (core dumped)
- pcl与c11出现 Segmentation fault (core dumped) Problem,编译通过运行出错
- tufao安装出错,提示make: *** [cmake_check_build_system] 段错误(core dumped)
- Segmentation fault (core dumped)出错原因及位置分析
- Check failed: error == cudaSuccess (2 vs. 0) out of memory Abort(core dumped)
- lightgbm安装(GPU)+用例
- Python 脚本运行时Segmentation fault (core dumped)
- 使用gdb 查找运行的segmentation fault(core dumped)
- boost::filesystem 库(文件系统)
- boost.filesystem
- Boost.Filesystem
- boost filesystem
- Boost.Filesystem
- Boost::Filesystem
- boost filesystem
- boost::filesystem
- Segmentation fault (core dumped)
- Segmentation fault (core dumped)
- STM32入门系列-使用C语言封装寄存器
- 获取服务器项目地址代码,结果是带IP的
- C++N大名著
- sql查出各个商家中同样产品售价最贵的
- POSTMAN POST方式传入纯数组
- Lightgbm-GPU运行出错(2017.11)boost::filesystem::create_directory...Abort (core dumped)
- vue中vue-core-image-upload组件
- 云星数据---Scala实战系列(精品版)】:Scala入门教程020-Scala实战源码-Scala 继承关系
- TCP segment of a reassembled PDU
- [Codeforeces 894E. Ralph and Mushrooms] 缩点+拓扑
- SELECT ... FOR UPDATE
- [LINUX]关于inode的一些理解
- Qt自定义标题栏详细介绍(可拖动、放大缩小、关闭、标题栏具有渐变色)
- CocoaPods的安装