From a53517845f4b3edb1b17d36e7ead9579b6342033 Mon Sep 17 00:00:00 2001 From: Karolina Oparczyk Date: Sat, 22 May 2021 17:51:31 +0200 Subject: [PATCH] mlflow save model --- JenkinsfileNeural | 2 +- neural_network.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/JenkinsfileNeural b/JenkinsfileNeural index 7417d67..e2371e7 100644 --- a/JenkinsfileNeural +++ b/JenkinsfileNeural @@ -16,7 +16,7 @@ node { } stage('Clone repo') { - /* try {*/ docker.image("karopa/ium:29").inside { + /* try {*/ docker.image("karopa/ium:30").inside { stage('Test') { checkout([$class: 'GitSCM', branches: [[name: '*/mlflow']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434765/ium_434765']]]) copyArtifacts fingerprintArtifacts: true, projectName: 's434765-create-dataset', selector: buildParameter("BUILD_SELECTOR") diff --git a/neural_network.py b/neural_network.py index 5e437c1..7de514f 100644 --- a/neural_network.py +++ b/neural_network.py @@ -14,7 +14,7 @@ from evaluate_network import evaluate_model logging.basicConfig(level=logging.WARN) logger = logging.getLogger(__name__) -mlflow.set_tracking_uri("http://localhost:5000") +mlflow.set_tracking_uri("http://172.17.0.1:5000") mlflow.set_experiment("s434765") warnings.filterwarnings("ignore")