Bug fix - test_csvs argument was not used
Removed spurious overwriting of argument 'test_csvs' in evaluate.py This bug lead to problems in lm_optimizer.py
This commit is contained in:
parent
2e9c281d06
commit
0849261b38
@ -50,7 +50,6 @@ def evaluate(test_csvs, create_model):
|
||||
else:
|
||||
scorer = None
|
||||
|
||||
test_csvs = FLAGS.test_files.split(',')
|
||||
test_sets = [create_dataset([csv], batch_size=FLAGS.test_batch_size, train_phase=False) for csv in test_csvs]
|
||||
iterator = tfv1.data.Iterator.from_structure(tfv1.data.get_output_types(test_sets[0]),
|
||||
tfv1.data.get_output_shapes(test_sets[0]),
|
||||
|
Loading…
x
Reference in New Issue
Block a user