Disable MongoObserver
This commit is contained in:
parent
6418eae811
commit
25eda64345
@ -32,6 +32,7 @@ pipeline {
|
||||
sh 'mv my_runs/_sources/training* training_sacred.py'
|
||||
sh 'mv my_runs/1/info.json info.json'
|
||||
archiveArtifacts artifacts: 'config.json, model.pth, training_sacred.py, info.json'
|
||||
sh 'rm -rf my_runs'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ from sacred.observers import FileStorageObserver, MongoObserver
|
||||
|
||||
ex = Experiment(save_git_info=False)
|
||||
ex.observers.append(FileStorageObserver('my_runs'))
|
||||
ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017', db_name='sacred'))
|
||||
# ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017', db_name='sacred'))
|
||||
|
||||
@ex.config
|
||||
def my_config():
|
||||
|
Loading…
Reference in New Issue
Block a user