ml.dmlc.xgboost4j.java.XGBoostError: [15:57:17] src/data/data.cc:51: Check failed: (version) == (kVersion) MetaInfo: invalid format


Solutions on the web

Solution icon of github
[15:57:17] src/data/data.cc:51: Check failed: (version) == (kVersion) MetaInfo: invalid format

Solution icon of github
via GitHub by geoHeil
, 1 month ago
[15:57:28] src/objective/regression_obj.cc:41: Check failed: base_score > 0.0f && base_score < 1.0f base_score must be in (0,1) for logistic loss Stack trace returned 2 entries: (0) 0 libxgboost4j5544838633935815740.dylib 0x000000012733ba99

Solution icon of github
via GitHub by fc1plusx
, 9 months ago
[18:11:28] src/data/simple_csr_source.cc:44: Check failed: batch.index != nullptr

Solution icon of github
via GitHub by greghor
, 11 months ago
[15:43:58] src/io/local_filesys.cc:154: Check failed: allow_null LocalFileSystem: fail to open "/Users/greghor/anaconda2/lib/python2.7/site-packages/xgboost/jvm-packages/xgboost4j-example/src/main/scala/ml/dmlc/xgboost4j/scala/example/./model/dump.raw.txt"

Solution icon of github
[21:23:06] src/learner.cc:283: Check failed: ModelInitialized() Always call InitModel or LoadModel before update

Solution icon of github
via GitHub by futurecam
, 1 year ago
[21:23:06] src/learner.cc:283: Check failed: ModelInitialized() Always call InitModel or LoadModel before update

Solution icon of github
via GitHub by tmoerman
, 8 months ago
[22:45:24] src/data/././sparse_batch_page.h:91: Check failed: batch.index != nullptr Stack trace returned 5 entries: (0) /tmp/libxgboost4j3201111363368296041.so

Solution icon of github
[14:43:22] src/metric/elementwise_metric.cc:28: Check failed: (preds.size()) == (info.labels.size()) label and prediction size not match, hint: use merror or mlogloss for multi-class classification

Solution icon of github
via GitHub by greghor
, 11 months ago
[09:25:39] src/io/local_filesys.cc:86: LocalFileSystem.ListDirectory ../../demo/data error: No such file or directory

Stack trace

ml.dmlc.xgboost4j.java.XGBoostError: [15:57:17] src/data/data.cc:51: Check failed: (version) == (kVersion) MetaInfo: invalid format
	at ml.dmlc.xgboost4j.java.JNIErrorHandle.checkCall(JNIErrorHandle.java:48)
	at ml.dmlc.xgboost4j.java.DMatrix.<init>(DMatrix.java:83)
	at com.myMaven.app.App.main(App.java:36)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.