gagan3012 commited on
Commit
5f1d01b
·
1 Parent(s): 83ad679

split added

Browse files
Files changed (1) hide show
  1. src/models/train_model.py +2 -2
src/models/train_model.py CHANGED
@@ -23,8 +23,8 @@ def train_model():
23
 
24
  model.train(train_df=train_df, eval_df=eval_df,
25
  batch_size=params['batch_size'], max_epochs=params['epochs'],
26
- use_gpu=params['use_gpu'], learning_rate=params['learning_rate'],
27
- num_workers=params['num_workers'])
28
 
29
  model.save_model(model_dir=params['model_dir'])
30
 
 
23
 
24
  model.train(train_df=train_df, eval_df=eval_df,
25
  batch_size=params['batch_size'], max_epochs=params['epochs'],
26
+ use_gpu=params['use_gpu'], learning_rate=float(params['learning_rate']),
27
+ num_workers=int(params['num_workers']))
28
 
29
  model.save_model(model_dir=params['model_dir'])
30