Zaktualizuj 'sacred_training.py'

This commit is contained in:
Szymon Jadczak 2022-05-08 12:23:41 +02:00
parent 82d9e078dc
commit abbca96dbe

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_2022@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])