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:29:09 +02:00
parent 278dc357ce
commit b529e72832
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,8 @@ from sacred.observers import FileStorageObserver
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,7 +17,6 @@ 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'