Commit 8ed52b70 authored by Kolja Stahl's avatar Kolja Stahl
Browse files

remove unused generator argument

parent ceec89a6
...@@ -245,7 +245,7 @@ class OpenFoldDataset(torch.utils.data.IterableDataset): ...@@ -245,7 +245,7 @@ class OpenFoldDataset(torch.utils.data.IterableDataset):
class OpenFoldBatchCollator: class OpenFoldBatchCollator:
def __init__(self, config, generator, stage="train"): def __init__(self, config, stage="train"):
self.stage = stage self.stage = stage
self.feature_pipeline = feature_pipeline.FeaturePipeline(config) self.feature_pipeline = feature_pipeline.FeaturePipeline(config)
...@@ -503,7 +503,7 @@ class OpenFoldDataModule(pl.LightningDataModule): ...@@ -503,7 +503,7 @@ class OpenFoldDataModule(pl.LightningDataModule):
else: else:
raise ValueError("Invalid stage") raise ValueError("Invalid stage")
batch_collator = OpenFoldBatchCollator(self.config, generator, stage) batch_collator = OpenFoldBatchCollator(self.config, stage)
dl = OpenFoldDataLoader( dl = OpenFoldDataLoader(
dataset, dataset,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment