torchkge-team / torchkge

TorchKGE: Knowledge Graph embedding in Python and PyTorch.
Other
381 stars 41 forks source link

Issue has been fixed #257

Closed shreyash-Pandey-Katni closed 1 year ago

shreyash-Pandey-Katni commented 1 year ago

data_loader.get_counter_examples() was called before the Loader was called for iteration because of that __iter__ was not called in the loader. This made the self.iterator as None because its value is allocated in the __iter__ method

Fixed #256