Open TanLingxiao opened 1 year ago
Can you share the code so I can reproduce this error?
It seems similar at first glance to this error using multi-classification: https://github.com/catboost/catboost/issues/1903
Hey @TanLingxiao @jlloh, I propose my solution here https://github.com/jlloh/catboost-rs/pull/11
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: CatBoostError { description: "??+0 (0x7FFBAC8D378E)\n??+0 (0x7FFBAC67257A)\n??+0 (0x7FFBAC65C21D)\n??+0 (0x7FFBAC8DAC07)\nCalcModelPredictionWithHashedCatFeatures+581 (0x7FFBAC6CE385)\n??+0 (0x55C2FA2F6D2A)\n??+0 (0x55C2FA2F53E5)\n??+0 (0x55C2FA2F339B)\n??+0 (0x55C2FA2F38EE)\n??+0 (0x55C2FA2F5581)\n??+0 (0x55C2FA31500C)\n??+0 (0x55C2FA2F555A)\n??+0 (0x55C2FA2F551E)\n__libc_start_main+243 (0x7FFBABF34083)\n??+0 (0x55C2FA2F270E)\n\n(TCatBoostException) catboost/libs/model/eval_processing.cpp:24: `results` size is insufficient: Results.size() = 1, resultApproxDimension = 3, docCount * resultApproxDimension = 3" }', src/main.rs:10:87 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace