Conversation
…-run_3dcnn_training_in_swarm' into 539-odelia-ci-clarify-purpose-of-run_3dcnn_training_in_swarm
|
I looked into the failing unit test here, and the short version is: your change is right and the test is asserting a fiction. But there is a real bug sitting next to it that I think this PR should take with it. The failing test is encoding behaviour that never worked
So on
The documented The bug worth taking with itRemoving the misleading string doesn't remove the silent fallback, it just makes it the only one left. — two INFO lines, and a run that trains a model nobody asked for. That is precisely #541 ("Swarm runs do not verify that all sites resolved the same Since this PR is what makes def get_model_config(logger, model_name: str):
if model_name in get_all_model_names():
return CHALLENGE_MODELS.get(model_name)
if model_name in DEFAULT_MODEL:
return DEFAULT_MODEL[model_name]
raise ValueError(
f"Unknown model {model_name!r}. Set MODEL_NAME or pass --model_name. "
f"Available: {sorted(get_all_model_names()) + sorted(DEFAULT_MODEL)}"
)Note this also makes One piece of dead code while you are in heremodel_variant = env_vars.get('model_name', 'MST')The Suggested shape
Happy to push 1–4 onto this branch if you'd rather not — say the word. The CI-side change ( |
|
Good points that should be addressed in a separate issue. |
…fy-purpose-of-run_3dcnn_training_in_swarm' into 539-odelia-ci-clarify-purpose-of-run_3dcnn_training_in_swarm
Uh oh!
There was an error while loading. Please reload this page.