Zaktualizuj 'sacred_training.py'

This commit is contained in:
Szymon Jadczak 2022-05-08 12:14:57 +02:00
parent fc3caf4d57
commit 8aedc5a1e1

View File

@ -10,7 +10,7 @@ from sacred.observers import FileStorageObserver
from sacred import Experiment
ex = Experiment("sacred_scopes", interactive=True, save_git_info=False)
ex.observers.append(MongoObserver(url='mongodb://mongo_user:mongo_password_IUM_2021@localhost:27017',db_name='sacred'))
ex.observers.append(MongoObserver(url='mongodb://mongo_user:mongo_password_IUM_2021@127.0.0.1:27017',db_name='sacred'))
ex.observers.append(FileStorageObserver('training'))
epochs = int(sys.argv[1])