Skip to content

Commit 8585567

Browse files
committed
adding tests for numpy reader and spatial filler
1 parent 69891d8 commit 8585567

17 files changed

+21
-15
lines changed

neuralmonkey/encoders/numpy_stateful_filler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,5 +164,5 @@ def spatial_mask(self) -> tf.Tensor:
164164

165165
def feed_dict(self, dataset: Dataset, train: bool = False) -> FeedDict:
166166
fd = ModelPart.feed_dict(self, dataset, train)
167-
fd[self.spatial_input] = dataset.get_series(self.data_id)
167+
fd[self.spatial_input] = list(dataset.get_series(self.data_id))
168168
return fd
512 KB
Binary file not shown.

tests/data/flickr30k/10002456.jpg.npz

512 KB
Binary file not shown.
512 KB
Binary file not shown.
512 KB
Binary file not shown.
512 KB
Binary file not shown.
512 KB
Binary file not shown.
512 KB
Binary file not shown.

tests/data/flickr30k/10010052.jpg.npz

512 KB
Binary file not shown.
512 KB
Binary file not shown.

0 commit comments

Comments
 (0)