Update 'train.py'
This commit is contained in:
parent
15c0034ac3
commit
c6d3e5fa33
4
train.py
4
train.py
@ -14,13 +14,13 @@ exint.observers.append(FileStorageObserver('my_runs'))
|
|||||||
@exint.config
|
@exint.config
|
||||||
def my_config():
|
def my_config():
|
||||||
EPOCHS = int(os.environ['EPOCHS'])
|
EPOCHS = int(os.environ['EPOCHS'])
|
||||||
train_data_x = exint.open_resource('./X_train.csv', 'r')
|
|
||||||
|
|
||||||
|
|
||||||
@exint.main
|
@exint.main
|
||||||
def my_main(EPOCHS,train_data_x):
|
def my_main(EPOCHS):
|
||||||
_run.info["epochs"] = EPOCHS
|
_run.info["epochs"] = EPOCHS
|
||||||
normalize = layers.Normalization()
|
normalize = layers.Normalization()
|
||||||
|
train_data_x = exint.open_resource('./X_train.csv', 'r')
|
||||||
games_all = train_data_x.copy()
|
games_all = train_data_x.copy()
|
||||||
games_predict = train_data_x.pop('User_Score')
|
games_predict = train_data_x.pop('User_Score')
|
||||||
normalize.adapt(games_all)
|
normalize.adapt(games_all)
|
||||||
|
Loading…
Reference in New Issue
Block a user