This commit is contained in:
Jakub Zaręba 2023-05-10 21:51:16 +02:00
parent bf10ec7ca8
commit 332deaa782

View File

@ -1,9 +1,13 @@
from sacred import Experiment from sacred import Experiment
from sacred.observers import MongoObserver, FileStorageObserver from sacred.observers import MongoObserver, FileStorageObserver
import os
os.environ["SACRED_NO_GIT"] = "1"
ex = Experiment('s449312-training', interactive=True) ex = Experiment('s449312-training', interactive=True)
ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017', db_name='sacred')) ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017', db_name='sacred'))
@ex.config @ex.config
def my_config(): def my_config():
data_file = 'data.csv' data_file = 'data.csv'