in inference/xgboost/inference.py [0:0]
def model_fn(model_dir): model_file = model_dir + "/model.bin" model = pkl.load(open(model_file, "rb")) return model