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
30e051cf
"...msvc/git@developer.sourcefind.cn:yangql/googletest.git" did not exist on "ecf9459561a71f9a54056c8d627ecd673084c390"
Unverified
Commit
30e051cf
authored
Dec 31, 2021
by
Gustaf Ahdritz
Committed by
GitHub
Dec 31, 2021
Browse files
Add missing cached_weights line
parent
14cce39a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
train_openfold.py
train_openfold.py
+2
-0
No files found.
train_openfold.py
View file @
30e051cf
...
...
@@ -49,6 +49,8 @@ class OpenFoldWrapper(pl.LightningModule):
model
=
self
.
model
,
decay
=
config
.
ema
.
decay
)
self
.
cached_weights
=
None
def
forward
(
self
,
batch
):
return
self
.
model
(
batch
)
...
...
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