update dllib-sacred.py
Some checks failed
s444356-evaluation/pipeline/head This commit looks good
s444356-training/pipeline/head There was a failure building this commit

This commit is contained in:
Maciej Czajka 2022-05-06 15:29:19 +02:00
parent 6ad71f9d5f
commit c6ad942459

View File

@ -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():