-
Notifications
You must be signed in to change notification settings - Fork 5
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
HOOMD-TF CG Example #31
base: master
Are you sure you want to change the base?
Conversation
For some context, are the errors you're getting general hoomd-tf errors, or are they only coming up when using a system/simulation that's generated from uli-init specifically? |
it looks like this PR overlaps with #27, the diffs will be easier to parse once it is merged |
this error |
Codecov Report
@@ Coverage Diff @@
## master #31 +/- ##
==========================================
- Coverage 93.95% 93.04% -0.92%
==========================================
Files 6 6
Lines 480 489 +9
==========================================
+ Hits 451 455 +4
- Misses 29 34 +5
|
… one-molecule file dynamically by n_monomers, too
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Opening this so we can discuss TF debugging stuff. @jennyfothergill the HOOMD-TF branch I'm using is here. Right now our error of the day has to do with tensor dimensions not matching what they should be in an internal cross product operation that happens when trying to get the dihedrals in the CG mapped molecules. The script I'm working on is HTF_CG_Online_Demo.py. You will also need access to the necessary gsd and .npy files which were produced using the code in this repo:
The gsd with only one PEEK molecule was made the same way but with
n_compounds=[1]
. This was needed for finding the CG mapping in the kind of hacky way that I did it. The issue right now is cropping up in thecompute()
call in this model class, which is where the TF code is getting invoked. It callshtf.mol_dihedral()
to try to get our molecule-wise batched sets of dihedral participating beads.Happy to walk through the process and how this is set up!