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
8b5212da
"git@developer.sourcefind.cn:OpenDAS/openfold.git" did not exist on "78644cdf4407f8f9215939f486394b3a4285915f"
Commit
8b5212da
authored
Jul 16, 2024
by
Ryan Kosai
Browse files
Remove unnecessary double-load of config_json.
parent
f37d0d96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
run_pretrained_openfold.py
run_pretrained_openfold.py
+1
-6
No files found.
run_pretrained_openfold.py
View file @
8b5212da
...
@@ -185,12 +185,7 @@ def main(args):
...
@@ -185,12 +185,7 @@ def main(args):
use_deepspeed_evoformer_attention
=
args
.
use_deepspeed_evoformer_attention
,
use_deepspeed_evoformer_attention
=
args
.
use_deepspeed_evoformer_attention
,
)
)
if
args
.
experiment_config_json
:
if
args
.
experiment_config_json
:
with
open
(
args
.
experiment_config_json
,
'r'
)
as
f
:
custom_config_dict
=
json
.
load
(
f
)
config
.
update_from_flattened_dict
(
custom_config_dict
)
if
args
.
experiment_config_json
:
with
open
(
args
.
experiment_config_json
,
'r'
)
as
f
:
with
open
(
args
.
experiment_config_json
,
'r'
)
as
f
:
custom_config_dict
=
json
.
load
(
f
)
custom_config_dict
=
json
.
load
(
f
)
config
.
update_from_flattened_dict
(
custom_config_dict
)
config
.
update_from_flattened_dict
(
custom_config_dict
)
...
...
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