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

GitHub | penolove | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Can I output the xgboost R dmatrix to file and then load it by xgboost4j ?

    GitHub | 5 months ago | penolove
    ml.dmlc.xgboost4j.java.XGBoostError: [15:57:17] src/data/data.cc:51: Check failed: (version) == (kVersion) MetaInfo: invalid format
  2. 0

    GitHub comment 1702#256567113

    GitHub | 7 months ago | greghor
    ml.dmlc.xgboost4j.java.XGBoostError: [09:25:39] src/io/local_filesys.cc:86: LocalFileSystem.ListDirectory ../../demo/data error: No such file or directory
  3. 0

    GitHub comment 1702#256645322

    GitHub | 7 months ago | greghor
    ml.dmlc.xgboost4j.java.XGBoostError: [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"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1827#278472742

    GitHub | 3 months ago | tmoerman
    ml.dmlc.xgboost4j.java.XGBoostError: [22:45:24] src/data/././sparse_batch_page.h:91: Check failed: batch.index != nullptr Stack trace returned 5 entries: (0) /tmp/libxgboost4j3201111363368296041.so(_ZN7xgboost4data16SparsePageSource6CreateEPN4dmlc6ParserIjEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x30b5) [0x7fcbf3480ca5] (1) /tmp/libxgboost4j3201111363368296041.so(_ZN7xgboost7DMatrix6CreateEPN4dmlc6ParserIjEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x1eb) [0x7fcbf349086b] (2) /tmp/libxgboost4j3201111363368296041.so(XGDMatrixCreateFromDataIter+0x13f) [0x7fcbf355116f] (3) /tmp/libxgboost4j3201111363368296041.so(Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGDMatrixCreateFromDataIter+0x53) [0x7fcbf33dda33] (4) [0x7fd0ebf7ab94]
  6. 0

    xgboost 4j spark test failure version v0.6.0

    GitHub | 8 months ago | geoHeil
    ml.dmlc.xgboost4j.java.XGBoostError: [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

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. ml.dmlc.xgboost4j
      DMatrix.<init>
      1. ml.dmlc.xgboost4j.java.JNIErrorHandle.checkCall(JNIErrorHandle.java:48)
      2. ml.dmlc.xgboost4j.java.DMatrix.<init>(DMatrix.java:83)
      2 frames
    3. com.myMaven.app
      App.main
      1. com.myMaven.app.App.main(App.java:36)
      1 frame