added mongo observer

This commit is contained in:
Mikołaj Pokrywka 2022-05-15 14:10:56 +02:00
parent 0835211dc0
commit a05a31de31

View File

@ -12,10 +12,12 @@ import matplotlib.pyplot as plt
import sys
from sacred import Experiment
from sacred.observers import FileStorageObserver
from sacred.observers import MongoObserver
ex = Experiment()
ex.observers.append(FileStorageObserver('my_runs'))
ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017', db_name='sacred'))
vectorizer = TfidfVectorizer()
@ex.config