Skip to content

Random sample - #13

Open
smallfishabc wants to merge 28 commits into
mainfrom
random_sample
Open

Random sample#13
smallfishabc wants to merge 28 commits into
mainfrom
random_sample

Conversation

@smallfishabc

Copy link
Copy Markdown
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

@stephprince stephprince left a comment

Copy link
Copy Markdown
Collaborator

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

Comment thread 1ael.pdb

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

Comment thread pyproject.toml
"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
Copy Markdown
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.

2 participants