diff --git a/JenkinsfileEval b/JenkinsfileEval index 36a4ada..dd48281 100644 --- a/JenkinsfileEval +++ b/JenkinsfileEval @@ -15,7 +15,7 @@ node { } stage('Clone repo') { - docker.image("karopa/ium:15").inside { + docker.image("karopa/ium:16").inside { stage('Test') { checkout([$class: 'GitSCM', branches: [[name: '*/evaluation']], 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_DATASET") diff --git a/evaluate_network.py b/evaluate_network.py index 5cddf14..782408a 100644 --- a/evaluate_network.py +++ b/evaluate_network.py @@ -37,5 +37,5 @@ for (pred, test) in zip(prediction_denormalized, y_test.values): error = mean_squared_error(y_test, prediction_denormalized) print(error) -with open("rmse.txt", "w") as file: +with open("rmse.txt", "a") as file: file.write(str(error) + "\n")