catboost: Exception when CatBoostRegressor is disposed
If I create a CatBoostRegressor instance in a script, then when the script tears down CatBoostRegressor throws an exception
i.e. save the following in a script then run it from the console
from catboost import CatBoostRegressor
estimator = CatBoostRegressor(loss_function='RMSE', has_time=True, logging_level='Silent', task_type='GPU', devices='0')
TypeError: ‘NoneType’ object is not callable Exception ignored in: ‘_catboost._CatBoost.dealloc’ TypeError: ‘NoneType’ object is not callable
catboost version: catboost==0.11.2
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (9 by maintainers)
Commits related to this issue
- MLTOOLS-4614 fix heisenbug in __dealloc__ from issue #685 ref:8b85087470f48b51221b9b3eddf954dfefdeaada — committed to catboost/catboost by kizill 4 years ago
Sorry for the long wait! We forgot about the issue, we’ll try to fix it in one of the next releases.