update dllib-sacred.py
Some checks failed
s444356-evaluation/pipeline/head This commit looks good
s444356-training/pipeline/head There was a failure building this commit

This commit is contained in:
Maciej Czajka 2022-05-06 15:27:00 +02:00
parent aca260fe12
commit 6ad71f9d5f

View File

@ -17,7 +17,9 @@ 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(url='mongodb://mongo_user:mongo_password_IUM_2021@localhost:27017',
db_name='sacred'))
@ex.config @ex.config
def my_config(): def my_config():