Zaktualizuj 'sacred_training.py'

This commit is contained in:
Szymon Jadczak 2022-05-08 12:18:54 +02:00
parent 8aedc5a1e1
commit 5314f1039f

View File

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