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
4de6b1a3
"vscode:/vscode.git/clone" did not exist on "46dcc0583502eb59e9641a95b230902a7c483b4a"
Commit
4de6b1a3
authored
Aug 04, 2023
by
Geoffrey Yu
Browse files
revert to
08afe382
config
parent
d7f3d622
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
127 additions
and
110 deletions
+127
-110
openfold/config.py
openfold/config.py
+127
-110
No files found.
openfold/config.py
View file @
4de6b1a3
...
@@ -155,12 +155,12 @@ def model_config(
...
@@ -155,12 +155,12 @@ def model_config(
c
.
loss
.
tm
.
weight
=
0.1
c
.
loss
.
tm
.
weight
=
0.1
elif
"multimer"
in
name
:
elif
"multimer"
in
name
:
c
.
globals
.
is_multimer
=
True
c
.
globals
.
is_multimer
=
True
c
.
globals
.
bfloat16
=
Tru
e
c
.
globals
.
bfloat16
=
Fals
e
c
.
globals
.
bfloat16_output
=
False
c
.
globals
.
bfloat16_output
=
False
c
.
loss
.
masked_msa
.
num_classes
=
22
c
.
loss
.
masked_msa
.
num_classes
=
22
c
.
data
.
common
.
max_recycling_iters
=
20
c
.
data
.
common
.
max_recycling_iters
=
20
for
k
,
v
in
multimer_model_config_update
.
items
():
for
k
,
v
in
multimer_model_config_update
[
'model'
]
.
items
():
c
.
model
[
k
]
=
v
c
.
model
[
k
]
=
v
for
k
,
v
in
multimer_model_config_update
[
'loss'
].
items
():
for
k
,
v
in
multimer_model_config_update
[
'loss'
].
items
():
...
@@ -593,6 +593,12 @@ config = mlc.ConfigDict(
...
@@ -593,6 +593,12 @@ config = mlc.ConfigDict(
"c_out"
:
37
,
"c_out"
:
37
,
},
},
},
},
# A negative value indicates that no early stopping will occur, i.e.
# the model will always run `max_recycling_iters` number of recycling
# iterations. A positive value will enable early stopping if the
# difference in pairwise distances is less than the tolerance between
# recycling steps.
"recycle_early_stop_tolerance"
:
-
1.
},
},
"relax"
:
{
"relax"
:
{
"max_iterations"
:
0
,
# no max
"max_iterations"
:
0
,
# no max
...
@@ -673,17 +679,11 @@ config = mlc.ConfigDict(
...
@@ -673,17 +679,11 @@ config = mlc.ConfigDict(
"eps"
:
eps
,
"eps"
:
eps
,
},
},
"ema"
:
{
"decay"
:
0.999
},
"ema"
:
{
"decay"
:
0.999
},
# A negative value indicates that no early stopping will occur, i.e.
# the model will always run `max_recycling_iters` number of recycling
# iterations. A positive value will enable early stopping if the
# difference in pairwise distances is less than the tolerance between
# recycling steps.
"recycle_early_stop_tolerance"
:
-
1
}
}
)
)
multimer_model_config_update
=
{
multimer_model_config_update
=
{
"input_embedder"
:
{
'model'
:{
"input_embedder"
:
{
"tf_dim"
:
21
,
"tf_dim"
:
21
,
"msa_dim"
:
49
,
"msa_dim"
:
49
,
#"num_msa": 508,
#"num_msa": 508,
...
@@ -694,6 +694,20 @@ multimer_model_config_update = {
...
@@ -694,6 +694,20 @@ multimer_model_config_update = {
"max_relative_idx"
:
32
,
"max_relative_idx"
:
32
,
"use_chain_relative"
:
True
,
"use_chain_relative"
:
True
,
},
},
"template"
:
{
"distogram"
:
{
"min_bin"
:
3.25
,
"max_bin"
:
50.75
,
"no_bins"
:
39
,
},
"template_pair_embedder"
:
{
"c_z"
:
c_z
,
"c_m"
:
c_m
,
"relpos_k"
:
32
,
"max_relative_chain"
:
2
,
"max_relative_idx"
:
32
,
"use_chain_relative"
:
True
,
},
"template"
:
{
"template"
:
{
"distogram"
:
{
"distogram"
:
{
"min_bin"
:
3.25
,
"min_bin"
:
3.25
,
...
@@ -825,6 +839,10 @@ multimer_model_config_update = {
...
@@ -825,6 +839,10 @@ multimer_model_config_update = {
"c_out"
:
37
,
"c_out"
:
37
,
},
},
},
},
"recycle_early_stop_tolerance"
:
0.5
},
"recycle_early_stop_tolerance"
:
0.5
},
"loss"
:
{
"loss"
:
{
"distogram"
:
{
"distogram"
:
{
"min_bin"
:
2.3125
,
"min_bin"
:
2.3125
,
...
@@ -901,5 +919,4 @@ multimer_model_config_update = {
...
@@ -901,5 +919,4 @@ multimer_model_config_update = {
},
},
"eps"
:
eps
,
"eps"
:
eps
,
},
},
"recycle_early_stop_tolerance"
:
0.5
}
}
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