Skip to content

Commit

Permalink
Merge pull request #987 from pengli09/fix-srl-demo-data-provider-bug
Browse files Browse the repository at this point in the history
Fix data provider bug in srl demo
  • Loading branch information
pengli09 authored Dec 22, 2016
2 parents c6b2bfe + 9baf7fc commit a7b5d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/semantic_role_labeling/dataprovider.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_batch_size(yeild_data):
init_hook=hook,
should_shuffle=True,
calc_batch_size=get_batch_size,
can_over_batch_size=False,
can_over_batch_size=True,
cache=CacheType.CACHE_PASS_IN_MEM)
def process(settings, file_name):
with open(file_name, 'r') as fdata:
Expand Down

0 comments on commit a7b5d94

Please sign in to comment.