selftest again?
This commit is contained in:
parent
e06b9a3a16
commit
a6b6c2c68b
@ -18,7 +18,7 @@ pipeline {
|
|||||||
{
|
{
|
||||||
steps
|
steps
|
||||||
{
|
{
|
||||||
copyArtifacts(fingerprintArtifacts: true, projectName: 's434695-training/train', selector: buildParameter('WHICH_BUILD'))
|
copyArtifacts(fingerprintArtifacts: true, projectName: 's434788-training/mlflow', selector: buildParameter('WHICH_BUILD'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('predict')
|
stage('predict')
|
||||||
|
@ -5,7 +5,7 @@ import pandas as pd
|
|||||||
mlflow.set_tracking_uri("http://172.17.0.1:5000")
|
mlflow.set_tracking_uri("http://172.17.0.1:5000")
|
||||||
client = MlflowClient()
|
client = MlflowClient()
|
||||||
version = 0
|
version = 0
|
||||||
model_name = "s434695"
|
model_name = "s434788"
|
||||||
for mv in client.search_model_versions(f"name='{model_name}'"):
|
for mv in client.search_model_versions(f"name='{model_name}'"):
|
||||||
print(mv)
|
print(mv)
|
||||||
if int(mv.version) > version:
|
if int(mv.version) > version:
|
||||||
|
Loading…
Reference in New Issue
Block a user