.
Some checks failed
s434784-evaluation/pipeline/head This commit looks good
s434784-training/pipeline/head There was a failure building this commit

This commit is contained in:
Maciej Sobkowiak 2021-05-17 00:37:43 +02:00
parent 46b44fd2f5
commit 5c77cd8402
2 changed files with 12 additions and 12 deletions

View File

@ -10,9 +10,9 @@ from sklearn.metrics import mean_squared_error
from sacred.observers import MongoObserver
ex = Experiment("434784_sacred_scopes", interactive=False, save_git_info=False)
ex.observers.append(FileStorageObserver('sacred_runs'))
# ex.observers.append(MongoObserver(
# url='mongodb://mongo_user:mongo_password_IUM_2021@localhost:27017', db_name='sacred'))
ex.observers.append(FileStorageObserver('sacred_runs/runs'))
ex.observers.append(MongoObserver(
url='mongodb://mongo_user:mongo_password_IUM_2021@localhost:27017', db_name='sacred'))
@ex.config

View File

@ -37,7 +37,7 @@ pipeline {
image.inside{
sh 'chmod +x training.py'
sh 'chmod +x sacred_training.py'
sh 'python3 training.py ${EPOCHS} ${BATCH_SIZE}'
// sh 'python3 training.py ${EPOCHS} ${BATCH_SIZE}'
sh 'python3 sacred_training.py'
}
}
@ -46,15 +46,15 @@ pipeline {
stage('archive-model') {
steps{
archiveArtifacts 'suicide_model.h5'
archiveArtifacts 'sacred_runs/**'
archiveArtifacts 'sacred_runs/**'
}
}
stage('send-mail') {
steps{
emailext body: currentBuild.result ?: 'SUCCESS',
subject: 's434784-training',
to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
}
}
// stage('send-mail') {
// steps{
// emailext body: currentBuild.result ?: 'SUCCESS',
// subject: 's434784-training',
// to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
// }
// }
}
}