Merged
Conversation
37cda1b to
947ceaa
Compare
d-j-hatton
reviewed
Jul 7, 2025
src/smartem_decisions/cli/initialise_prediction_model_weights.py
Outdated
Show resolved
Hide resolved
Contributor
|
The placeholder logic seems correct to me. The only suggestion is the one above which is something I should have done in the original. It just makes sure that the initial weights are evenly distributed against whatever models are registered and that the weights sum to 1 |
…oading the rest of the details from the DB
…foilhole and gridsquare creation
…predictions updates
bde3335 to
ff5ff94
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Initial MQ events need to be reworked.
prediction_model_nameandgrid_uuid; would be the first thing and happen once per model per grid at the startprediction_model_name,grid_uuid,level=hole|square; when gridsquares and foilholes are first registered they need initial predictionsgrid_uuid,origin=motion_correction|?; will come from whatever metric we decide to use as feedback. The origin would likely be motion correction, ctf or particle picking, but there are a few options for metrics to send backmodel_name,model_description; would only happen as a setup stage, probably by hand but could be automated. I think to avoid complications any existing sessions would not be touched by thatDB_WRITE_MODE- only direct mode remainsmq_consumer.py