Skip to content

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

@kasyanovse

Description

@kasyanovse

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions