update jenkinsfile_train-sacred and dllib-sacred.py
This commit is contained in:
parent
0883b4412f
commit
b9d4b4fd2e
@ -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)
|
||||||
|
|
||||||
|
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user