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

apply_model java: update dependency #18

Closed
wants to merge 1 commit into from

Conversation

DKARAGODIN
Copy link

I hereby agree to the terms of the CLA available at: [https://yandex.ru/legal/cla/?lang=en].

Основное изменение - обновление версии зависимости catboost prediction. При запуске со старой версией возникала ошибка:

Exception in thread "main" java.lang.ExceptionInInitializerError
at ai.catboost.CatBoostModel.loadModel(CatBoostModel.java:82)
at CatBoost4jPredictionTutorial.(CatBoost4jPredictionTutorial.java:12)
at CatBoost4jPredictionTutorial.main(CatBoost4jPredictionTutorial.java:164)
Caused by: java.lang.RuntimeException: java.io.IOException: Failed to get field handle for usr_path
at ai.catboost.NativeLib.(NativeLib.java:25)
... 3 more
Caused by: java.io.IOException: Failed to get field handle for usr_path
at ai.catboost.NativeLib.addDirectoryToNativeLibSearchList(NativeLib.java:165)
at ai.catboost.NativeLib.smartLoad(NativeLib.java:48)
at ai.catboost.NativeLib.(NativeLib.java:22)
... 3 more

Также добавлены .gitignore и удален файл из папки target. Эта папка с артефактами сборки, ее содержимое не нужно коммитить.

@DKARAGODIN
Copy link
Author

Уже есть PR на эту тему - #12

@DKARAGODIN DKARAGODIN closed this Jun 23, 2024
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

Successfully merging this pull request may close these issues.

1 participant