add mongo observer
This commit is contained in:
parent
023b0756a0
commit
85df03ecbb
@ -18,6 +18,7 @@ from sacred.observers import MongoObserver
|
|||||||
|
|
||||||
ex = Experiment("IUM_478839", save_git_info=False)
|
ex = Experiment("IUM_478839", save_git_info=False)
|
||||||
ex.observers.append(FileStorageObserver('IUM_478839'))
|
ex.observers.append(FileStorageObserver('IUM_478839'))
|
||||||
|
ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017', db_name='sacred'))
|
||||||
|
|
||||||
@ex.config
|
@ex.config
|
||||||
def my_config():
|
def my_config():
|
||||||
|
Loading…
Reference in New Issue
Block a user