Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoon Kim committed Dec 2, 2016
1 parent 852ee99 commit 64ceef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preprocess-shards.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def convert(srcfile, targetfile, batchsize, seqlength, outfile, total_num_sents,
if source_lengths[i] > curr_l:
curr_l = source_lengths[i]
l_location.append(j+1)
l_location.append(len(sources))
l_location.append(len(sources)+1)

#get batch sizes
curr_idx = 1
Expand Down

0 comments on commit 64ceef4

Please sign in to comment.