Zaktualizuj 'Jenkinsfile-evaluation'
This commit is contained in:
parent
492fd28a13
commit
b53fd7dc57
@ -4,20 +4,13 @@ pipeline {
|
||||
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} --build-arg CUTOFF=${params.CUTOFF} -t sebastianwalesa"
|
||||
}
|
||||
}
|
||||
parameters {
|
||||
string(
|
||||
defaultValue: '1000',
|
||||
description: 'Number of epochs',
|
||||
name: 'EPOCHS',
|
||||
trim: false
|
||||
)
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Train-stage'){
|
||||
stage('Evaluate'){
|
||||
steps {
|
||||
copyArtifacts filter: '*', projectName: 's478839-create-dataset'
|
||||
sh 'python3 ./ml_pytorch.py $EPOCHS'
|
||||
archiveArtifacts artifacts: 'Model_xPosition.pkl', followSymlinks: false
|
||||
sh 'python3 ./ml_pytorch_results.py'
|
||||
archiveArtifacts artifacts: 'metrics.txt, MSE.txt, RMSplot.png', followSymlinks: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user