From 9c578e17b3320e32cd9570f582d17153f207414e Mon Sep 17 00:00:00 2001 From: Szymon Bartanowicz Date: Tue, 14 May 2024 21:41:21 +0200 Subject: [PATCH] fix --- Jenkinsfile | 4 ++-- model.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index cf0634f..cfcc47e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,8 +29,8 @@ pipeline { } } steps { - sh "chmod +x ./model.py" - sh "python3 ./model.py ${params.EPOCHS}" + sh "chmod +x model.py" + sh "python3 model.py ${params.EPOCHS}" archiveArtifacts artifacts: 'powerlifting_model.h5', onlyIfSuccessful: true } } diff --git a/model.py b/model.py index a7b1369..d8275c4 100644 --- a/model.py +++ b/model.py @@ -1,5 +1,4 @@ import sys - import pandas as pd from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler, OneHotEncoder