fix mongo observer
All checks were successful
s444452-training/pipeline/head This commit looks good
s444452-evaluation/pipeline/head This commit looks good

This commit is contained in:
AdamOsiowy123 2022-05-09 08:33:50 +02:00
parent b786b7176d
commit 411ec3db86
2 changed files with 6 additions and 4 deletions

View File

@ -12,8 +12,9 @@ from sacred.observers import MongoObserver
from sacred.observers import FileStorageObserver
from sacred import Experiment
ex = Experiment(name='fake_job_classification_evaluation',save_git_info=False)
# ex.observers.append(MongoObserver(url='mongodb://mongo_user:mongo_password_IUM_2021@localhost:27017'))
ex = Experiment(name='s444452_fake_job_classification_evaluation', save_git_info=False)
ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017',
db_name='sacred'))
ex.observers.append(FileStorageObserver('my_runs'))
build_number = sys.argv[1]

View File

@ -10,8 +10,9 @@ from sacred.observers import MongoObserver
from sacred.observers import FileStorageObserver
from sacred import Experiment
ex = Experiment(name='fake_job_classification_training',save_git_info=False)
# ex.observers.append(MongoObserver(url='mongodb://mongo_user:mongo_password_IUM_2021@localhost:27017'))
ex = Experiment(name='s444452_fake_job_classification_training', save_git_info=False)
ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017',
db_name='sacred'))
ex.observers.append(FileStorageObserver('my_runs'))
data_path = sys.argv[1]