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
3fb643e9
Commit
3fb643e9
authored
Aug 07, 2022
by
Gustaf Ahdritz
Browse files
Merge branch 'main' of github.com:aqlaboratory/openfold into main
parents
a70132f3
b9b8c0a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openfold/utils/callbacks.py
openfold/utils/callbacks.py
+2
-2
No files found.
openfold/utils/callbacks.py
View file @
3fb643e9
...
...
@@ -6,8 +6,8 @@ class EarlyStoppingVerbose(EarlyStopping):
The default EarlyStopping callback's verbose mode is too verbose.
This class outputs a message only when it's getting ready to stop.
"""
def
_evalute_stopping_criteria
(
self
,
*
args
):
should_stop
,
reason
=
super
().
_evalute_stopping_criteria
(
*
args
)
def
_evalute_stopping_criteria
(
self
,
*
args
,
**
kwargs
):
should_stop
,
reason
=
super
().
_evalute_stopping_criteria
(
*
args
,
**
kwargs
)
if
(
should_stop
):
rank_zero_info
(
f
"
{
reason
}
\n
"
)
...
...
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