Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XGBoostError at /PredictValue #94

Open
bbaobelief opened this issue Apr 7, 2020 · 0 comments
Open

XGBoostError at /PredictValue #94

bbaobelief opened this issue Apr 7, 2020 · 0 comments

Comments

@bbaobelief
Copy link

bbaobelief commented Apr 7, 2020

人为修改dataA的最后一个值为92会报错,改为93-98可以正常运行,但返回的ret和p一直是1

dataA = [98, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 97, 98, 97, 98, 96, 98, 91, 95, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 96, 98, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 95, 98, 94, 98, 98, 98, 98, 96, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 97, 98, 98, 98, 97, 98, 98, 98, 98, 98, 96, 95, 96, 95, 91, 90, 94, 93, 87, 86, 85, 92, 93, 88, 94, 98, 98, 95, 96, 95, 97, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 97, 98, 98, 98, 97, 97, 97, 98, 98, 98, 98, 96, 98, 98, 98, 98, 96, 98, 98, 97, 97, 97, 97, 98, 98, 98, 98, 98, 96, 98, 98, 98, 98, 98, 95, 98, 98, 98, 98, 98, 92]

XGBoostError at /PredictValue
[18:00:28] /workspace/dmlc-core/src/io/local_filesys.cc:199: Check failed: allow_null LocalFileSystem::Open "/metis/time_series_detector/./model/1535790960079_model": No such file or directory

Stack trace returned 10 entries:
[bt] (0) /usr/xgboost/libxgboost.so(dmlc::StackTrace()+0x42) [0x7f2239ce54a2]
[bt] (1) /usr/xgboost/libxgboost.so(dmlc::io::LocalFileSystem::Open(dmlc::io::URI const&, char const*, bool)+0x40c) [0x7f2239e9cf0c]
[bt] (2) /usr/xgboost/libxgboost.so(dmlc::Stream::Create(char const*, char const*, bool)+0x3a) [0x7f2239e48c0a]
[bt] (3) /usr/xgboost/libxgboost.so(XGBoosterLoadModel+0x27) [0x7f2239d260f7]
[bt] (4) /lib64/libffi.so.6(ffi_call_unix64+0x4c) [0x7f22bac7ddcc]
[bt] (5) /lib64/libffi.so.6(ffi_call+0x1f5) [0x7f22bac7d6f5]
[bt] (6) /usr/lib64/python2.7/lib-dynload/_ctypes.so(_ctypes_callproc+0x30b) [0x7f22bae90beb]
[bt] (7) /usr/lib64/python2.7/lib-dynload/_ctypes.so(+0xa9e5) [0x7f22bae8a9e5]
[bt] (8) /usr/lib64/libpython2.7.so.1.0(PyObject_Call+0x43) [0x7f22bef30a63]
[bt] (9) /usr/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x2336) [0x7f22befc5236]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant