selftest again?

This commit is contained in:
Dominik Strzako 2021-05-27 12:56:56 +02:00
parent e06b9a3a16
commit a6b6c2c68b
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ pipeline {
{
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')

View File

@ -5,7 +5,7 @@ import pandas as pd
mlflow.set_tracking_uri("http://172.17.0.1:5000")
client = MlflowClient()
version = 0
model_name = "s434695"
model_name = "s434788"
for mv in client.search_model_versions(f"name='{model_name}'"):
print(mv)
if int(mv.version) > version: