Comments (8)
This might be useful: https://github.com/aksnzhy/xlearn/blob/master/doc/install.md
from xlearn.
You can build xlearn by using cmake. Please see the details in installation page.
from xlearn.
I found there is something wrong in multi-thread compling.
If you use command:
make -j4
sometimes you will meet the error:
[ 34%] Building CXX object src/loss/CMakeFiles/loss.dir/cross_entropy_loss.cc.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o] Error 4
make[1]: *** [gtest/CMakeFiles/gtest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 35%] Linking CXX shared library libscore.so
[ 36%] Building CXX object src/loss/CMakeFiles/loss.dir/metric.cc.o
If you use command:
make
the compile task will always success.
from xlearn.
Thanks for your issue !
But I have never meet this problem and it seems that this error comes from the compiler, not xLearn.
Can you share your compiler and OS information ?
from xlearn.
my compiler and OS information
[root@****:/root 2017-11-28 17:23:38]#cat /proc/version
Linux version 3.10.0-693.2.2.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) ) #1 SMP Tue Sep 12 22:26:13 UTC 2017
[root@****:/root 2017-11-28 17:25:47]#make -v
GNU Make 3.82
Built for x86_64-redhat-linux-gnu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
from xlearn.
problem with install the python-interface
Traceback (most recent call last):
File "setup.py", line 15, in
LIB_PATH = [os.path.relpath(libfile, CURRENT_DIR) for libfile in libpath'find_lib_path']
File "xlearn/libpath.py", line 45, in find_lib_path
'Cannot find xlearn Library in the candidate path'
builtin.XLearnLibraryNotFound: Cannot find xlearn Library in the candidate path
from xlearn.
I have build it with gcc 4.9 with no problem.
Also I found that it have setup.py under xlearn/build/python-package
and installed it this way:
https://stackoverflow.com/questions/1471994/what-is-setup-py
And after adding to ~/.bashrc
export PYTHONPATH=/home/user/deep_learning/data3/xlearn/python-package/xlearn
I get error on import:
Python 3.6.2 |Anaconda custom (64-bit)| (default, Sep 30 2017, 18:42:57)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import xlearn as xl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/user/deep_learning/data3/xlearn/python-package/xlearn/xlearn.py", line 5, in <module>
from base import _LIB, XLearnHandle
File "/home/user/deep_learning/data3/xlearn/python-package/xlearn/base.py", line 20, in <module>
_LIB = _load_lib()
File "/home/user/deep_learning/data3/xlearn/python-package/xlearn/base.py", line 13, in _load_lib
lib_path = find_lib_path()
File "/home/user/deep_learning/data3/xlearn/python-package/xlearn/libpath.py", line 45, in find_lib_path
'Cannot find xlearn Library in the candidate path'
libpath.XLearnLibraryNotFound: Cannot find xlearn Library in the candidate path
from xlearn.
Did you build your libxlearn library successfully? You can check it in lib
directory.
from xlearn.
Related Issues (20)
- should it be "int align = kAlign * aux_size;" => "int align = kAlign;" for ftrl in ffm_score.cc line 57 HOT 2
- Preload Model for Faster Predictions
- Only same or similar output from binary classifier model
- libsvm格式的数据训练Segmentation fault
- 读取pandas数据训练loss为nan HOT 1
- Support for arm64 HOT 1
- predict does not work without specifying out_path
- predict output gives different mse than one reported by predict function
- Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
- Memory Leak in DMatrix
- ffm模型训练的时候Precision为nan
- segmentation fault python3 我抽了(1000,20)的数据报错 HOT 1
- 使用xlearn的FM模型训练自己的数据集,发现出现bash line 1 :189133 segmentation fault core dumped的错误,感觉像是我自己做的数据集错了,但是又找不出来,请问有人出现过这个问题吗?
- xlearn python API's .predict method in doesn't kill the created threads after execution in python API, which leads to resource exhausted. HOT 2
- xlearn was installed on windows anaconda successfully but is not working HOT 1
- jupyter训练报错显示The kernel appears to have died. It will restart automatically. HOT 1
- successfully training. but always fail when running 'model.predict()' HOT 1
- How xlearn process the dataset before using the c++ api "Train(vector<reader>, vector<reader>)”
- Library crashing when using it in a HDFS environment
- Failed to convert feature matrix X and label y to xlearn data format
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xlearn.