s
This commit is contained in:
parent
5e18b51413
commit
a37c81cca6
4
train.py
4
train.py
@ -2,7 +2,7 @@ from sacred import Experiment
|
|||||||
from sacred.observers import MongoObserver, FileStorageObserver
|
from sacred.observers import MongoObserver, FileStorageObserver
|
||||||
import os
|
import os
|
||||||
|
|
||||||
os.environ["SACRED_NO_GIT"] = "1"
|
|
||||||
|
|
||||||
ex = Experiment('s487187-training', interactive=True, save_git_info=False)
|
ex = Experiment('s487187-training', interactive=True, save_git_info=False)
|
||||||
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'))
|
||||||
@ -10,7 +10,7 @@ ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017
|
|||||||
|
|
||||||
@ex.config
|
@ex.config
|
||||||
def my_config():
|
def my_config():
|
||||||
data_file = 'data.csv'
|
data_file = 'data.csv'
|
||||||
model_file = 'model.h5'
|
model_file = 'model.h5'
|
||||||
epochs = 10
|
epochs = 10
|
||||||
batch_size = 32
|
batch_size = 32
|
||||||
|
Loading…
Reference in New Issue
Block a user