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

Hallucination w/ receptor crashing while saving output #32

Open
Paulther opened this issue Sep 26, 2022 · 2 comments
Open

Hallucination w/ receptor crashing while saving output #32

Paulther opened this issue Sep 26, 2022 · 2 comments

Comments

@Paulther
Copy link

Hi,
I have been trying to hallucinate some new designs to bind a particular target. The hallucination script crashes while trying to save the output.
Input command:
python hallucinate.py --pdb antiIL6_shorter_bound.pdb --contigs=A32-33,A55-58,A103-106,A170,A174-178,A212-213,A239-240 --force_aa=A32-33,A55-58,A103-106,A170,A174-178,A212-213,A239-240 --len=125-150 --receptor IL6_Ligand_Shortened_Alpha_CB.pdb --out IL6/IL6 --num=200 --steps=g10 --exclude_aa C --save_pdb=True

Output:
Using CUDA device(s): cuda:0: (NVIDIA GeForce RTX 3080);

Parsing input pdb...
Parsing receptor pdb...

Generating IL6_0, length 201...
Forcing amino acids: A32R,A33Y,A55Y,A56D,A57G,A58D,A103V,A104V,A105T,A106G,A170N,A174G,A175T,A176Y,A177A,A178Y,A212K,A213S,A239N,A240F, and 61 receptor positions
Calculating 100 background distributions...
Loss term | Weight
cce 1.00
entropy 1.00
kl 1.00

Stage 0
Starting gradient descent...
step avg loss cce entropy kl
0 2.7400 5.0881 3.2141 -0.0821
10 2.5137 4.5615 3.0856 -0.1060
final 2.4549 4.3876 3.1224 -0.1454
best loss step: 1
Max CUDA memory: 6.4923G
Saving /home/paul/RFDesign/hallucination/IL6/IL6_0: Traceback (most recent call last):
File "/home/paul/RFDesign/hallucination/hallucinate.py", line 739, in
main()
File "/home/paul/RFDesign/hallucination/hallucinate.py", line 731, in main
optimization.save_result(out_prefix, Net, ml, trb['msa'], args, trb,
File "/home/paul/RFDesign/hallucination/util/../optimization.py", line 179, in save_result
idx_tmpl = net_kwargs['idx'].cpu().numpy()[0]
KeyError: 'idx'

Any idea what the problem is?

@geraseva
Copy link

Same problem

@geraseva
Copy link

Perhaps this would be helpful #9

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