-
Notifications
You must be signed in to change notification settings - Fork 12
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
Bugs for implementation #5
Comments
Also, one more questions regarding your project. For the euclidean CFM to predict the ca coodiantes, how do you ensure the equvariance? and which code is specifically for this module? thx for your help. |
|
Thx for your replies. I have one more related question. I saw in the paper, you define Validity is the ratio of the designed peptides that is chemically valid, through the criterion of whether the bonds of the atoms where the bond is not broken if its length is within 0.5 ̊A above and below the ideal value. Why you set this as witnin 0.5 A ? Is this window too big considering the real data value has like +-0.1 A? Do you have some other supporting papers indicating 0.5 A for bond length variant is accepeatable and consider as chemical valid? |
Also, I updated your code (torusflow.py). but I got the error message below. could you advice to fix it? INFO: Using pytorch backend |
|
Hi,
I tried to implemented your code and got the following errors below. could you advice how to fix it?
Kind regards,
INFO:
Loading Structures for test set...
Sampling: 0%| | 0/500 [00:00<?, ?it/s]
7qh7_I: 0%| | 0/3 [00:03<?, ?it/s]t/s]
Traceback (most recent call last):
File "codesign_diffpp.py", line 143, in
main()
File "codesign_diffpp.py", line 94, in main
traj_batch = model.sample(batch, sample_opt={
File "/home/projects/def-pmkim/anaconda3/envs/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/lustre04/scratch/pre3/pre2/pre/ppflow/ppflow/models/ppflow.py", line 132, in sample
traj = self.flow.sample(s_1, R_1, p_1, d_1, X_1, res_feat, pair_feat, mask_gen_d,
File "/home/projects/def-pmkim/anaconda3/envs/proteinsgm2/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/lustre04/scratch/pre3/pre2/pre/ppflow_contral_group/ppflow/ppflow/modules/flows/torusflow.py", line 274, in sample
vp_t, vr_t, vd_t, vc_t = self.eps_net(
File "/home/projects/def-pmkim/anaconda3/envs/proteinsgm2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
TypeError: forward() missing 1 required positional argument: 'mask_res'
The text was updated successfully, but these errors were encountered: