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
53cdb247
Commit
53cdb247
authored
Mar 25, 2024
by
Jennifer
Committed by
Jennifer Wei
May 06, 2024
Browse files
add metric logging to progress bar.
parent
4f2f069b
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 @
53cdb247
...
@@ -21,7 +21,6 @@ from openfold.data.data_modules import OpenFoldDataModule, OpenFoldMultimerDataM
...
@@ -21,7 +21,6 @@ from openfold.data.data_modules import OpenFoldDataModule, OpenFoldMultimerDataM
from
openfold.model.model
import
AlphaFold
from
openfold.model.model
import
AlphaFold
from
openfold.model.torchscript
import
script_preset_
from
openfold.model.torchscript
import
script_preset_
from
openfold.np
import
residue_constants
from
openfold.np
import
residue_constants
from
openfold.utils.argparse_utils
import
remove_arguments
from
openfold.utils.callbacks
import
(
from
openfold.utils.callbacks
import
(
EarlyStoppingVerbose
,
EarlyStoppingVerbose
,
)
)
...
@@ -653,6 +652,8 @@ if __name__ == "__main__":
...
@@ -653,6 +652,8 @@ if __name__ == "__main__":
parser
.
add_argument
(
parser
.
add_argument
(
"--experiment_config_json"
,
default
=
""
,
help
=
"Path to a json file with custom config values to overwrite config setting"
,
"--experiment_config_json"
,
default
=
""
,
help
=
"Path to a json file with custom config values to overwrite config setting"
,
)
)
# Trainer additional arguments
# Ideally we'd want something like config.add_trainer_args()
parser
.
add_argument
(
parser
.
add_argument
(
"--gpus"
,
type
=
int
,
default
=
1
,
help
=
'For determining optimal strategy and effective batch size.'
"--gpus"
,
type
=
int
,
default
=
1
,
help
=
'For determining optimal strategy and effective batch size.'
)
)
...
...
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