fix eval
s444452-training/pipeline/head This commit looks good Details
s444452-evaluation/pipeline/head This commit looks good Details

This commit is contained in:
AdamOsiowy123 2022-05-16 08:29:22 +02:00
parent c172e81c88
commit af70e51b91
1 changed files with 2 additions and 0 deletions

View File

@ -59,12 +59,14 @@ node {
stage('Run script') {
withEnv(["BUILD_NR=${params.BUILD_NR}","DATA_PATH=${params.DATA_PATH}","EPOCHS=${params.EPOCHS}",
"NUM_WORDS=${params.NUM_WORDS}", "BATCH_SIZE=${params.BATCH_SIZE}","PAD_LENGTH=${params.PAD_LENGTH}"]) {
sh "chmod u+x Scripts/evaluate_neural_network.py"
sh "python3 Scripts/evaluate_neural_network.py $BUILD_NR $DATA_PATH $EPOCHS $NUM_WORDS $BATCH_SIZE $PAD_LENGTH"
}
}
stage('Archive artifacts') {
archiveArtifacts "neural_network_evaluation.csv, evaluation.png"
archiveArtifacts "my_runs/**"
archiveArtifacts "mlruns/**"
}
}
} catch (e) {