changed version
This commit is contained in:
parent
1ea84c709d
commit
2512690467
@ -3,7 +3,6 @@ pipeline {
|
||||
stages {
|
||||
stage('training') {
|
||||
steps {
|
||||
sh 'export MLFLOW_TRACKING_URI=http://172.17.0.1:5000'
|
||||
sh 'chmod +x pred_from_mlflow_model.py'
|
||||
sh 'python3 pred_from_mlflow_model.py'
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ import mlflow as mlf
|
||||
import pandas as pd
|
||||
|
||||
model_name = "s430705"
|
||||
model_version = 8
|
||||
model_version = 1
|
||||
mlf.set_tracking_uri("http://172.17.0.1:5000")
|
||||
model = mlf.pyfunc.load_model(
|
||||
model_uri=f"models:/{model_name}/{model_version}"
|
||||
|
Loading…
Reference in New Issue
Block a user