We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f97963 commit 23868e3Copy full SHA for 23868e3
pytorch_forecasting/data/timeseries/_timeseries.py
@@ -2691,7 +2691,7 @@ def to_dataloader(
2691
if self.precompute:
2692
kwargs["collate_fn"] = self.__fast_collate_fn__()
2693
self.__precompute__(kwargs)
2694
- if kwargs["batch_sampler"] is not None:
+ elif kwargs["batch_sampler"] is not None:
2695
sampler = kwargs["batch_sampler"]
2696
if isinstance(sampler, str):
2697
if sampler == "synchronized":
0 commit comments