update dllib-sacred.py
This commit is contained in:
parent
6ad71f9d5f
commit
c6ad942459
@ -18,8 +18,7 @@ from sacred.observers import MongoObserver
|
|||||||
|
|
||||||
ex = Experiment()
|
ex = Experiment()
|
||||||
#ex.observers.append(FileStorageObserver('my_run'))
|
#ex.observers.append(FileStorageObserver('my_run'))
|
||||||
ex.observers.append(MongoObserver(url='mongodb://mongo_user:mongo_password_IUM_2021@localhost:27017',
|
ex.observers.append(MongoObserver.create(url='mongodb://mongo_user:mongo_password_IUM_2021@localhost:27017', db_name='sacred'))
|
||||||
db_name='sacred'))
|
|
||||||
|
|
||||||
@ex.config
|
@ex.config
|
||||||
def my_config():
|
def my_config():
|
||||||
|
Loading…
Reference in New Issue
Block a user