From 1a4451222428ea5b30c1483d7419cc1101a3ccab Mon Sep 17 00:00:00 2001 From: emkarcinos Date: Mon, 9 May 2022 10:03:04 +0200 Subject: [PATCH] Enable Mongo --- train_model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/train_model.py b/train_model.py index c82006d..90ed416 100644 --- a/train_model.py +++ b/train_model.py @@ -49,8 +49,8 @@ def main(batch_size, epochs, _run): def setup_experiment(): ex = Experiment('Predict power output for a given time') ex.observers.append(FileStorageObserver('sacred_runs')) - # ex.observers.append(MongoObserver(url='mongodb://mongo_user:mongo_password_IUM_2022@localhost:27017', - # db_name='sacred')) + ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017', + db_name='sacred')) return ex