Enable Mongo
All checks were successful
s444409-training/pipeline/head This commit looks good
s444409-evaluation/pipeline/head This commit looks good

This commit is contained in:
emkarcinos 2022-05-09 10:03:04 +02:00
parent 076de7c773
commit 1a44512224

View File

@ -49,8 +49,8 @@ def main(batch_size, epochs, _run):
def setup_experiment(): def setup_experiment():
ex = Experiment('Predict power output for a given time') ex = Experiment('Predict power output for a given time')
ex.observers.append(FileStorageObserver('sacred_runs')) ex.observers.append(FileStorageObserver('sacred_runs'))
# ex.observers.append(MongoObserver(url='mongodb://mongo_user:mongo_password_IUM_2022@localhost:27017', ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017',
# db_name='sacred')) db_name='sacred'))
return ex return ex