-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Hi,
If len(lines) = 4, list(range(len(lines) - 1)) would be only [0, 1, 2]
So.. Is here need to remove -1 to make sure the sample result is include the last line of file?
from:
Line 403 in 6dd26b3
| c = Counter(np.random.choice(range(len(lines) - 1), size = batch_size)) |
to:
c = Counter(np.random.choice(range(len(lines)), size = batch_size))
thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels