s
This commit is contained in:
parent
bf10ec7ca8
commit
332deaa782
4
train.py
4
train.py
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user