Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only size-1 arrays can be converted to Python scalars #9

Open
wwhhbuct opened this issue Oct 9, 2022 · 1 comment
Open

only size-1 arrays can be converted to Python scalars #9

wwhhbuct opened this issue Oct 9, 2022 · 1 comment

Comments

@wwhhbuct
Copy link

wwhhbuct commented Oct 9, 2022

it failed to process features model. could anyone give a suggestion?

Traceback (most recent call last):
File "inference.py", line 657, in
main(args)
File "inference.py", line 566, in main
is_multimer=global_is_multimer,
File "/data/xTrimoMultimer/xtrimomultimer/data/feature_pipeline.py", line 108, in process_features
mode=mode,
File "/data/xTrimoMultimer/xtrimomultimer/data/feature_pipeline.py", line 77, in np_example_to_features
num_res = int(np_example["seq_length"])
TypeError: only size-1 arrays can be converted to Python scalars

@semal
Copy link

semal commented Oct 13, 2022

we use colabfold to generate feature pkl file to skip this step in xtrimomultimer, and it works. But find the result performance is lower than alphafold origin result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants