update jenkinsfile_train-sacred and dllib-sacred.py
Some checks failed
s444356-evaluation/pipeline/head This commit looks good
s444356-training/pipeline/head There was a failure building this commit

This commit is contained in:
Maciej Czajka 2022-05-04 22:42:19 +02:00
parent 0883b4412f
commit b9d4b4fd2e
2 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,6 @@ from sacred.observers import MongoObserver
ex = Experiment() ex = Experiment()
ex.observers.append(FileStorageObserver('my_runs')) ex.observers.append(FileStorageObserver('my_runs'))
#ex.observers.append(MongoObserver(url='mongodb://mongo_user:mongo_password_IUM_2021@localhost:27017', db_name='sacred'))
# exint = Experiment("sacred_scopes", interactive=True) # exint = Experiment("sacred_scopes", interactive=True)

View File

@ -17,6 +17,7 @@ pipeline {
steps { steps {
copyArtifacts filter: '*', projectName: 's444356-create-dataset' copyArtifacts filter: '*', projectName: 's444356-create-dataset'
sh 'python Biblioteka_DL/dllib-sacred.py with "epochs=$EPOCHS"' sh 'python Biblioteka_DL/dllib-sacred.py with "epochs=$EPOCHS"'
sh 'ls -al my_runs/_sources'
sh 'cp my_runs/_sources/dllib* source_code.py' sh 'cp my_runs/_sources/dllib* source_code.py'
sh 'cp my_runs/1/config.json configuration.json' sh 'cp my_runs/1/config.json configuration.json'
sh 'cp my_runs/1/info.json param.json' sh 'cp my_runs/1/info.json param.json'