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
1f709b0d
"lib/bindings/vscode:/vscode.git/clone" did not exist on "de2905377ca30c408bfe09f74a83a1183e7859b3"
Commit
1f709b0d
authored
Jan 03, 2022
by
Gustaf Ahdritz
Browse files
Update name of validation mode
parent
0febc3e5
Changes
1
Show 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 @
1f709b0d
...
@@ -90,7 +90,7 @@ class OpenFoldSingleDataset(torch.utils.data.Dataset):
...
@@ -90,7 +90,7 @@ class OpenFoldSingleDataset(torch.utils.data.Dataset):
self
.
mode
=
mode
self
.
mode
=
mode
self
.
_output_raw
=
_output_raw
self
.
_output_raw
=
_output_raw
valid_modes
=
[
"train"
,
"val"
,
"predict"
]
valid_modes
=
[
"train"
,
"
e
val"
,
"predict"
]
if
(
mode
not
in
valid_modes
):
if
(
mode
not
in
valid_modes
):
raise
ValueError
(
f
'mode must be one of
{
valid_modes
}
'
)
raise
ValueError
(
f
'mode must be one of
{
valid_modes
}
'
)
...
...
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