update dllib-sacred.py
This commit is contained in:
parent
aca260fe12
commit
6ad71f9d5f
@ -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():
|
||||||
|
Loading…
Reference in New Issue
Block a user