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