Skip to content

Conversation

@smallfishabc
Copy link
Collaborator

Hi Steph,
This is my random sample branch with the ensemble generation ability. Could you have a look at this? I checked and there is not much overlap or conflicts with the main branch.
Best
Feng Yu

Copy link
Collaborator

@stephprince stephprince left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added my comments! I was mainly reviewing for any changes that would break the core model training so I did not look in detail at the refinement_model module updates

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this file should be included

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this and debug_train_structure.sh and test_imports.py are leftovers from an AI debugging run so could be removed but if you are still using them feel free to leave

Comment on lines -21 to -23
self.pdb_dir = pdb_dir
self.pdb_prefix = pdb_prefix if pdb_prefix is not None else "fixed_"
self.pdb_ext = pdb_ext or ".pdb"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the changes in this file would break some of the current training code - could you adapt your training code to use these args and uncomment the code below

# calculate the L1 divergence of the SAXS profiles
l1_loss = nn.L1Loss(reduction="sum")
loss = l1_loss(pred_saxs, true_saxs)
loss = l1_loss(pred_saxs, saxs)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you revert these changes? I don't think saxs should be an input anymore in this function

"openfold @ git+https://github.com/aqlaboratory/openfold.git@103d037",
"ml-collections==0.1.0",
"dm-tree==0.1.6",
"lightning==2.1.0",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"lightning==2.1.0",

This is already specified above

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

Successfully merging this pull request may close these issues.

3 participants