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
babce128
Unverified
Commit
babce128
authored
Oct 02, 2022
by
atgctg
Committed by
GitHub
Oct 02, 2022
Browse files
Fix probabilities type (`int` -> `float`)
parent
55c5623d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openfold/data/data_modules.py
openfold/data/data_modules.py
+1
-1
No files found.
openfold/data/data_modules.py
View file @
babce128
...
@@ -334,7 +334,7 @@ class OpenFoldDataset(torch.utils.data.Dataset):
...
@@ -334,7 +334,7 @@ class OpenFoldDataset(torch.utils.data.Dataset):
"""
"""
def
__init__
(
self
,
def
__init__
(
self
,
datasets
:
Sequence
[
OpenFoldSingleDataset
],
datasets
:
Sequence
[
OpenFoldSingleDataset
],
probabilities
:
Sequence
[
in
t
],
probabilities
:
Sequence
[
floa
t
],
epoch_len
:
int
,
epoch_len
:
int
,
generator
:
torch
.
Generator
=
None
,
generator
:
torch
.
Generator
=
None
,
_roll_at_init
:
bool
=
True
,
_roll_at_init
:
bool
=
True
,
...
...
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