update jenkinsfile_train-sacred and dllib-sacred.py
This commit is contained in:
parent
278dc357ce
commit
b529e72832
@ -17,6 +17,8 @@ from sacred.observers import FileStorageObserver
|
||||
|
||||
ex = Experiment()
|
||||
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)
|
||||
|
||||
|
@ -17,7 +17,6 @@ pipeline {
|
||||
steps {
|
||||
copyArtifacts filter: '*', projectName: 's444356-create-dataset'
|
||||
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/1/config.json configuration.json'
|
||||
sh 'cp my_runs/1/info.json param.json'
|
||||
|
Loading…
Reference in New Issue
Block a user