From 0f75d48a6685e29a52e93b2764fb6c44515f553b Mon Sep 17 00:00:00 2001 From: Santiago Castro Date: Fri, 7 Aug 2020 16:26:00 -0400 Subject: [PATCH] Fix class name --- timm/data/loader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/timm/data/loader.py b/timm/data/loader.py index 359cf315..bed9a254 100644 --- a/timm/data/loader.py +++ b/timm/data/loader.py @@ -231,9 +231,9 @@ class MultiEpochsDataLoader(torch.utils.data.DataLoader): super().__init__(*args, **kwargs) self._DataLoader__initialized = False if self.batch_sampler is None: - self.sampler = RepeatSampler(self.sampler) + self.sampler = _RepeatSampler(self.sampler) else: - self.batch_sampler = RepeatSampler(self.batch_sampler) + self.batch_sampler = _RepeatSampler(self.batch_sampler) self._DataLoader__initialized = True self.iterator = super().__iter__()