Comments (8)
and when I run the command CUDA_VISIBLE_DEVICES=0 python -m src.inference_rigid
, an error has appeared: File "/nvme/xxxxx/projects/docking-task/equidock_public/src/inference_rigid.py", line 203, in main
assert np.linalg.norm(new_residues - model_ligand_coors_deform_list[0].detach().cpu().numpy()) < 1e-1
AssertionError
so, how to deal with this error?
from equidock_public.
and when I note this line code, the code could run successfully, and I use python -m src.test_all_methods.eval_pdb_outputset
to get the results, it shows: For dips method = equidock ; num test files = 100 complex_rmsd_CA median/mean/std = 14.964256286621094 / 15.607631420575272 +- 7.329030992174103 complex_interface_rmsd CA median/mean/std = 11.410481452941895 / 12.017205838562273 +- 5.641359052105475
, it seems that it also has a lower performance than the original paper.
from equidock_public.
and I found that if I note this line code, using the pre-trained model you provided, and using python -m src.test_all_methods.eval_pdb_outputset
, it shows: For dips method = equidock ; num test files = 100 complex_rmsd_CA median/mean/std = 13.295709133148193 / 14.52530690637253 +- 7.132719173736529 complex_interface_rmsd CA median/mean/std = 10.186793327331543 / 11.92203870816779 +- 7.009077590008056
, and it gets the similar results mentioned in the original paper, so I think noting this line code may be a solution for this error?
from equidock_public.
Hey @onlyonewater !
For the first point, if you want to get your statistics, you need to run the src/inference_rigid.py and src/utils/eval.py script. As mentioned in other issues, I suspect the statistics to be biased for Equidock as considering the complex RMSD/iRMSD, the receptor RMSD is used but it is always equal to 0 by design of the model.
For the assertion error, I never faced it. Maybe trying to remove it could solve the problem but I do not remember why the authors used it. So you may wan to figure out why they use this condition.
I don't really get your point on the last two questions, but I'd be happy to help you with them !
By the way, I am not related to any of the authors of the project nor their lab. I just worked with EquiDock for a master project.
Sincerely Meow !
from equidock_public.
hi, @AxelGiottonini , thanks for your replying, yeah, the user should run the src/inference_rigid.py and src/test_all_methods/eval_pdb_outputset.py to get the final results, when I meet the assertion error, I remove that line of code, and it runs successfully, my meaning is that I can not achieve the performance which is in the original paper with running the code by myself in my own GPU machine, I train the EquiDock from the scratch on the dips dataset, the results of the dips are: For dips method = equidock ; num test files = 100 complex_rmsd_CA median/mean/std = 14.964256286621094 / 15.607631420575272 +- 7.329030992174103 complex_interface_rmsd CA median/mean/std = 11.410481452941895 / 12.017205838562273 +- 5.641359052105475
, it has lower results than the original paper and it is also lower than the model provided by the authors. I am not sure if you are having this problem.
and I also do not know why the receptor RMSD is always equal to 0 during the training stage. It also makes me confused.
from equidock_public.
Hey ! If you trained EquiDock from scratch, then it is normal to obtain different results although their should be in the same magnitude order. As you are training a neural network with random initial parameters you would not expect the outputs to be equals between different models. So yes, I had similar results but I would not consider that as a problem :)
For the receptor RMSD, you will always obtain a value of 0 because the model is just looking for a SE(3) transformation of the ligand. Thus, the receptor does not move from its initial position, that's why you obtain an RMSD of 0. If you pay attention to the article, the behavior is described as "We design EQUIDOCK, a fast, end-to-end method for rigid body docking that directly predicts the SE(3) transformation to place one of the proteins (ligand) at the right location and orientation with respect to the second protein (receptor)."
from equidock_public.
hi, @AxelGiottonini, thanks for your detailed reply, yeah I got it, thanks, and I have no problem.
from equidock_public.
and this is my results:
for dips:
so, the results are all lower than the original paper. It can be seen that the results of db5 is more lower than the original paper.
from equidock_public.
Related Issues (20)
- Question about the Fig.12 HOT 4
- inference script has no docs HOT 1
- Hyperparameters HOT 2
- Why optimal transport matrix is not used? HOT 4
- Installation problems HOT 1
- Matrix Product Error in Kabsh Model HOT 1
- How to run inference on custom PDB + Problems with Installation HOT 5
- best validation score & some other variations
- Source code for DIPS split HOT 6
- Thank you for your generous open source work, salute your work, and wish your soul peace
- what is the difference between rigid protein docking and protein-protein docking?
- cuda and dgl version
- Code is not usable or documented HOT 2
- Dependencies typo ? HOT 1
- How to get the complex pose? HOT 13
- to speed up rsync
- deallock in make_dataset HOT 3
- DIPS dataset HOT 2
- about preprocess_raw_data.py HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from equidock_public.