Model fix

This commit is contained in:
Wojciech Lidwin 2023-05-11 19:45:43 +02:00
parent 90ea83a9f0
commit f1f3d2647a
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ def get_x_y(data):
def predict():
model = load_model('baltimore_model3')
model = load_model('baltimore_model.h5')
train = pd.read_csv('baltimore_train.csv')
baltimore_data_test = pd.read_csv('baltimore_test.csv')

View File

@ -48,7 +48,7 @@ def train_model():
validation_split=0.2)
hist = pd.DataFrame(history.history)
hist['epoch'] = history.epoch
model.save('baltimore_model3')
model.save('baltimore_model.h5')
train_model()