From c6ad94245956ea8bf95e445394dc961504bd503d Mon Sep 17 00:00:00 2001 From: Maciej Czajka Date: Fri, 6 May 2022 15:29:19 +0200 Subject: [PATCH] update dllib-sacred.py --- Biblioteka_DL/dllib-sacred.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Biblioteka_DL/dllib-sacred.py b/Biblioteka_DL/dllib-sacred.py index 3708f1c..1286b3f 100644 --- a/Biblioteka_DL/dllib-sacred.py +++ b/Biblioteka_DL/dllib-sacred.py @@ -18,8 +18,7 @@ from sacred.observers import MongoObserver ex = Experiment() #ex.observers.append(FileStorageObserver('my_run')) -ex.observers.append(MongoObserver(url='mongodb://mongo_user:mongo_password_IUM_2021@localhost:27017', - db_name='sacred')) +ex.observers.append(MongoObserver.create(url='mongodb://mongo_user:mongo_password_IUM_2021@localhost:27017', db_name='sacred')) @ex.config def my_config():