Commit fdf836f1 authored by Gustaf Ahdritz's avatar Gustaf Ahdritz
Browse files

Merge branch 'main' of ssh://github.com/aqlaboratory/openfold into main

parents 1d68bde1 a411888a
...@@ -100,10 +100,8 @@ class FeaturePipeline: ...@@ -100,10 +100,8 @@ class FeaturePipeline:
def __init__( def __init__(
self, self,
config: ml_collections.ConfigDict, config: ml_collections.ConfigDict,
params: Optional[Mapping[str, Mapping[str, np.ndarray]]] = None,
): ):
self.config = config self.config = config
self.params = params
def process_features( def process_features(
self, self,
......
...@@ -48,7 +48,7 @@ def main(args): ...@@ -48,7 +48,7 @@ def main(args):
config = model_config(args.model_name) config = model_config(args.model_name)
model = AlphaFold(config) model = AlphaFold(config)
model = model.eval() model = model.eval()
import_jax_weights_(model, args.param_path) import_jax_weights_(model, args.param_path, version=args.model_name)
#script_preset_(model) #script_preset_(model)
model = model.to(args.model_device) model = model.to(args.model_device)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment