"components/git@developer.sourcefind.cn:OpenDAS/dynamo.git" did not exist on "548578f4a9ffa8ad30f5db168953f3d0fa83f4b2"
Unverified Commit 341ff3d9 authored by Gustaf Ahdritz's avatar Gustaf Ahdritz Committed by GitHub
Browse files

Fix bug in inference script weight importing

parent 6448d57c
...@@ -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