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

Catboost kills python instance if Pool get data=None #2522

Closed
kasyanovse opened this issue Nov 1, 2023 · 0 comments
Closed

Catboost kills python instance if Pool get data=None #2522

kasyanovse opened this issue Nov 1, 2023 · 0 comments

Comments

@kasyanovse
Copy link

Problem:

Python instance dies if Pool get data=None. It raises Fatal Python error: Segmentation fault on Ubuntu and similar error on WIndows 10.

import numpy as np
from catboost import CatBoostRegressor, Pool

CatBoostRegressor(verbose=0).fit(Pool(data=None, label=np.random.rand(1000)))

catboost version: tested on 1.2.1, 1.2.2
Operating System: tested on Windows 10 (both 22H1 and 22H2), Ubuntu 22.04.3
CPU: no info
GPU: no info

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

No branches or pull requests

2 participants