Update 'train.py'

This commit is contained in:
Patryk Gałka 2023-05-11 21:32:10 +02:00
parent 761ce894fb
commit 15c0034ac3

View File

@ -15,11 +15,11 @@ exint.observers.append(FileStorageObserver('my_runs'))
def my_config():
EPOCHS = int(os.environ['EPOCHS'])
train_data_x = exint.open_resource('./X_train.csv', 'r')
_run.info["epochs"] = EPOCHS
@exint.main
def my_main(EPOCHS,train_data_x):
_run.info["epochs"] = EPOCHS
normalize = layers.Normalization()
games_all = train_data_x.copy()
games_predict = train_data_x.pop('User_Score')