Open shangz-ai opened 2 years ago
I can't reproduce this.
(openfold_venv) [d@rustyamd1 openfold]$ python run_pretrained_openfold.py ~/gustaf_stuff/OpenFold/casp/casp_fastas/subtasks/t1159/ ~/gustaf_stuff/OpenFold/pdb_mmcif/mmcif_files/ --use_precomputed_alignments ~/gustaf_stuff/OpenFold/casp/alignments/ --output_dir ./lma_test_o
utputs --model_device "cuda:0" --config_preset "model_1" --obsolete_pdbs_path ~/gustaf_stuff/OpenFold/pdb_mmcif/obsolete.dat --output_postfix "epoch_94_recycle_10_templates_4_dimer" --skip_relaxation --jax_param_path openfold/resources/params/params_model_1.npz --trace_model
INFO:run_pretrained_openfold.py:Successfully loaded JAX parameters at openfold/resources/params/params_model_1.npz...
INFO:run_pretrained_openfold.py:Using precomputed alignments for T1159 at /mnt/home/dberenberg/gustaf_stuff/OpenFold/casp/alignments/...
INFO:run_pretrained_openfold.py:Tracing model at 200 residues...
INFO:run_pretrained_openfold.py:Tracing time: 73.32858817999659
INFO:run_pretrained_openfold.py:Running inference for T1159...
INFO:run_pretrained_openfold.py:Inference time: 10.851225507998606
INFO:run_pretrained_openfold.py:Output written to ./lma_test_outputs/predictions/T1159_model_1_epoch_94_recycle_10_templates_4_dimer_unrelaxed.pdb...
Is it possible that you've made local edits to the repo? If not, could you send your precomputed alignment dir + FASTA file?
I was using T1044 as attached: https://drive.google.com/drive/folders/14Y0FGM9CKZdzItu3ahhsFzc9_663VK_F?usp=sharing
Thanks!
I just got T1031 work in trace mode, which is in rather short residual length. So it seems to be related to the alignment and FASTA I guess
Hi @gahdritz,
Here are a bit more details about my error when adding --trace_model option while doing inferencing.
Here is the commands I run:
This finishes the inferencing successfully and returns inferencing time etc.
However, when I add
--trace_model
to the previous command, I got the error message as:It seems to me that the error may come from the
pad_feature_dict_seq
operation onfeature_dict
(https://github.com/aqlaboratory/openfold/blob/main/run_pretrained_openfold.py#L415). Do you have any insights to see why I'm encountering the error message when enabling--trace_model
?Thanks, Shang