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
ca43b8dd
Unverified
Commit
ca43b8dd
authored
Dec 28, 2021
by
Gustaf Ahdritz
Committed by
GitHub
Dec 28, 2021
Browse files
Reformat train_openfold.py
parent
9ce96fb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
train_openfold.py
train_openfold.py
+2
-1
No files found.
train_openfold.py
View file @
ca43b8dd
...
@@ -153,7 +153,8 @@ def main(args):
...
@@ -153,7 +153,8 @@ def main(args):
strict
=
True
,
strict
=
True
,
)
)
callbacks
.
append
(
es
)
callbacks
.
append
(
es
)
if
args
.
log_performance
:
if
(
args
.
log_performance
):
global_batch_size
=
args
.
num_nodes
*
args
.
gpus
global_batch_size
=
args
.
num_nodes
*
args
.
gpus
perf
=
PerformanceLoggingCallback
(
perf
=
PerformanceLoggingCallback
(
log_file
=
os
.
path
.
join
(
args
.
output_dir
,
"performance_log.json"
),
log_file
=
os
.
path
.
join
(
args
.
output_dir
,
"performance_log.json"
),
...
...
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