Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Aranda committed Jun 21, 2017
2 parents 662b86e + 8ffbcf5 commit 20ab343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/bucketing_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, data_source):
memory overhead.
:param data_source: The dataset to be sampled from
"""
super().__init__(data_source)
super(BucketingSampler, self).__init__(data_source)
self.data_source = data_source
assert hasattr(self.data_source, 'bins_to_samples')

Expand Down

0 comments on commit 20ab343

Please sign in to comment.