Skip to content

Commit

Permalink
Merge pull request SeanNaren#98 from aaronzira/master
Browse files Browse the repository at this point in the history
fixed super() initialization error
  • Loading branch information
Sean Naren committed Jun 20, 2017
2 parents 60b89f0 + cdb321d commit 8ffbcf5
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 8ffbcf5

Please sign in to comment.