update dllib-sacred.py
All checks were successful
s444356-evaluation/pipeline/head This commit looks good
s444356-training/pipeline/head This commit looks good

This commit is contained in:
Maciej Czajka 2022-05-06 15:33:09 +02:00
parent c6ad942459
commit ba082288cf

View File

@ -17,8 +17,7 @@ from sacred.observers import MongoObserver
# EPOCHS = int(sys.argv[1]) # EPOCHS = int(sys.argv[1])
ex = Experiment() ex = Experiment()
#ex.observers.append(FileStorageObserver('my_run')) ex.observers.append(FileStorageObserver('my_run'))
ex.observers.append(MongoObserver.create(url='mongodb://mongo_user:mongo_password_IUM_2021@localhost:27017', db_name='sacred'))
@ex.config @ex.config
def my_config(): def my_config():