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
8f9865c3
Commit
8f9865c3
authored
Feb 22, 2022
by
Gustaf Ahdritz
Browse files
Remove redundant parameter in training script
parent
fd95b577
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
train_openfold.py
train_openfold.py
+1
-1
No files found.
train_openfold.py
View file @
8f9865c3
...
...
@@ -63,7 +63,7 @@ class OpenFoldWrapper(pl.LightningModule):
def
forward
(
self
,
batch
):
return
self
.
model
(
batch
)
def
_log
(
self
,
loss
,
loss_breakdown
,
batch
,
train
=
True
):
def
_log
(
self
,
loss_breakdown
,
batch
,
train
=
True
):
phase
=
"train"
if
train
else
"val"
for
loss_name
,
indiv_loss
in
loss_breakdown
.
items
():
self
.
log
(
...
...
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