Permalink
Browse files

Fix validation steps computing

  • Loading branch information...
Roman Sokolkov
Roman Sokolkov committed Apr 2, 2018
1 parent 1a0a947 commit 348519c9b0acf8dde0df687b15f103826c19b625
Showing with 2 additions and 2 deletions.
  1. +2 −2 donkeycar/parts/keras.py
@@ -64,7 +64,7 @@ def train(self, train_gen, val_gen,
verbose=1,
validation_data=val_gen,
callbacks=callbacks_list,
validation_steps=steps*(1.0 - train_split))
validation_steps=steps*(1.0 - train_split)/train_split)
return hist


@@ -303,4 +303,4 @@ def default_imu(num_outputs, num_imu_inputs):
model.compile(optimizer='adam',
loss='mse')

return model
return model

0 comments on commit 348519c

Please sign in to comment.