Enable MongoObserver

This commit is contained in:
Agata 2022-05-09 10:14:44 +02:00
parent 90f2fd68e9
commit 908d2a053a

View File

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