Why does Prediction_model return different values in case1 and case2?

hello
I like to load_model after save_model such as case 1.
However, the values (label, score) are different in the two cases below.

case2 is returning a normal result value.
What’s wrong with case1?

please…reply

Thank you


case 1:

final_model = finalize_model(stack_model)
save_model(final_model, model_name=“test”, verbose=True)
load = load_model(“test”)
result=predict_model(load, data=df,verbose=True)
st.write(result)


case 2:
final_model = finalize_model(stack_model)
result=predict_model(final_model, data=df,verbose=True)
st.write(result)