mlflow fix7
All checks were successful
s444452-training/pipeline/head This commit looks good
s444452-evaluation/pipeline/head This commit looks good

This commit is contained in:
AdamOsiowy123 2022-05-15 23:26:07 +02:00
parent cf697133cb
commit c172e81c88

View File

@ -41,7 +41,7 @@ node {
stage('Run script') {
withEnv(["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 +x Scripts/train_neural_network.py"
sh "chmod u+x Scripts/train_neural_network.py"
sh "python3 Scripts/train_neural_network.py $DATA_PATH $EPOCHS $NUM_WORDS $BATCH_SIZE $PAD_LENGTH"
}
}
@ -49,8 +49,6 @@ node {
archiveArtifacts "model/neural_net"
archiveArtifacts "my_runs/**"
archiveArtifacts "mlruns/**"
archiveArtifacts "/mlruns/**"
archiveArtifacts "/code/mlruns/**"
}
}
} catch (e) {