Hi,I havd trained a model based on XGBRegressor,
set
'updater':'grow_gpu_hist','predictor': 'cpu_predictor'
,and pickle.dump success.
When I migrate the model to other machines on no-GPU,
pickle.load fail.
xgboost.core.XGBoostError: [20:26:52] /Users/travis/build/dmlc/xgboost/src/tree/tree_updater.cc:20: Unknown tree updater grow_gpu_hist
I has review https://github.com/dmlc/xgboost/issues/5291
,but the function .get_booster()
except error
need to call fit or load_model beforehand
Can I migrate to the CPU after GPU trained?