finish_predict