Skip to content

Commit

Permalink
fixed super() initialization error
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronzira committed Jun 20, 2017
1 parent 60b89f0 commit cdb321d
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 cdb321d

Please sign in to comment.