Zaktualizuj 'sacred_training.py'

This commit is contained in:
Szymon Jadczak 2022-05-08 12:11:07 +02:00
parent f57843e875
commit c893a1f348

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@127.0.0.1:27017',db_name='sacred')) ex.observers.append(MongoObserver(url='mongodb://mongo_user:mongo_password_IUM_2021@localhost:27017',db_name='sacred'))
ex.observers.append(FileStorageObserver('training')) ex.observers.append(FileStorageObserver('training'))
epochs = int(sys.argv[1]) epochs = int(sys.argv[1])