diff --git a/sacred/sacred_use_model.py b/sacred/sacred_use_model.py index d1ba31f..8bdf517 100644 --- a/sacred/sacred_use_model.py +++ b/sacred/sacred_use_model.py @@ -4,12 +4,12 @@ import numpy as np from sklearn.preprocessing import StandardScaler from sklearn.metrics import accuracy_score from sacred import Experiment -from sacred.observers import MongoObserver, FileObserver +from sacred.observers import FileStorageObserver, MongoObserver ex = Experiment('464953_evaluation') ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@tzietkiewicz.vm.wmi.amu.edu.pl:27017')) -ex.observers.append(FileObserver('my_experiment_logs')) +ex.observers.append(FileStorageObserver('my_experiment_logs')) @ex.config def config():