From 66a3ed2247d7d9c38e5cc5a1e8f95812ebdd1e6a Mon Sep 17 00:00:00 2001 From: Adam Wojdyla Date: Mon, 16 May 2022 09:11:55 +0200 Subject: [PATCH] mount mlruns --- .gitignore | 4 ++++ Jenkinsfile_training | 3 ++- MLproject | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 64eee2c..80ac936 100644 --- a/.gitignore +++ b/.gitignore @@ -155,3 +155,7 @@ kaggle.json Car_Prices_Poland_Kaggle* CarPrices* IUM08/* +mlruns/* +my_model +.DS_store +*.db \ No newline at end of file diff --git a/Jenkinsfile_training b/Jenkinsfile_training index a49f273..36af2f1 100644 --- a/Jenkinsfile_training +++ b/Jenkinsfile_training @@ -1,9 +1,10 @@ pipeline { agent { docker { image 's444507_create_dataset_image:latest' } + args '-v /mlruns:/mlruns' } parameters { - string(name: 'epoch', defaultValue: '1000', description: 'Number of epochs to train model.') + string(name: 'epoch', defaultValue: '100', description: 'Number of epochs to train model.') } stages { stage('Get arifacts') { diff --git a/MLproject b/MLproject index 45cc4fe..3cbe1a0 100644 --- a/MLproject +++ b/MLproject @@ -2,7 +2,6 @@ name: s444507 docker_env: image: adamwojdyla - volumes: ["/mlflow/tmp/mlruns"] entry_points: main: