Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Dataset.subset when buffer_size is None #816

Merged
merged 3 commits into from
May 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion neuralmonkey/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,5 +610,6 @@ def subset(self, start: int, length: int) -> "Dataset":
iterators=slices,
batching=self.batching,
outputs=outputs,
buffer_size=self.buffer_size,
buffer_size=((self.buffer_min_size, self.buffer_size)
if self.lazy else None),
shuffled=self.shuffled)
2 changes: 1 addition & 1 deletion requirements-gpu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ python_speech_features
pygments
rouge==0.2.1
typeguard
sacrebleu
sacrebleu==1.3.1
tensorflow-gpu>=1.12.0,<1.13
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ python_speech_features
pygments
rouge==0.2.1
typeguard
sacrebleu
sacrebleu==1.3.1
tensorflow>=1.12.0,<1.13
2 changes: 1 addition & 1 deletion tests/mypy_requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mypy
mypy==0.660