Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenFold
Commits
8ed52b70
Commit
8ed52b70
authored
Jan 20, 2022
by
Kolja Stahl
Browse files
remove unused generator argument
parent
ceec89a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openfold/data/data_modules.py
openfold/data/data_modules.py
+2
-2
No files found.
openfold/data/data_modules.py
View file @
8ed52b70
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment