verify data should stream
@@ -27,13 +27,14 @@ def setup_args(parser=None):
# Get command line arguments
parser.add_argument('-ltim', '--log-every-n-secs', type=float, default=2)
parser.add_argument('-d', '--display-examples', type='bool', default=False)
- parser.set_defaults(datatype='train:ordered')
+ parser.set_defaults(datatype='train:stream')
return parser
def report(world, counts, log_time):
report = world.report()
- log = {'missing_text': counts['missing_text'],
+ log = {
+ 'missing_text': counts['missing_text'],
'missing_labels': counts['missing_labels'],
'missing_label_candidates': counts['missing_label_candidates'],
'empty_label_candidates': counts['empty_label_candidates'],
