Skip to content
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

15 run inference on baskerville #30

Merged
merged 14 commits into from
Dec 6, 2024
Merged

Conversation

J-Dymond
Copy link
Collaborator

@J-Dymond J-Dymond commented Dec 3, 2024

Added:

  • πŸ› οΈ Jobscript generation script to allow the setup and running of experiments on baskerville
  • πŸš‘ Changes to pipeline inference to address OOM bug
  • πŸ“ Minor changes to inference scripts and utils

@J-Dymond J-Dymond linked an issue Dec 3, 2024 that may be closed by this pull request
3 tasks
@J-Dymond J-Dymond marked this pull request as ready for review December 4, 2024 09:02
Copy link
Collaborator

@lannelin lannelin left a comment

Choose a reason for hiding this comment

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

nice work! A couple of minor changes requested.

@@ -8,6 +11,10 @@ def aggregate_score(probs: torch.Tensor) -> torch.Tensor:
return 1 - torch.mean(distance)


def zero_one_loss_ceil(y_target, y_pred):
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 is no longer really the zero_one_loss if we're doing a ceil, it's just a ==, so we can remove? or keep it as it was for use over a set of results (rather than single row)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

will remove


dummy_correct_output = [0, 1, 0, 1, 0]

assert hamming_loss(dummy_target, dummy_correct_output) == pytest.approx(
Copy link
Collaborator

Choose a reason for hiding this comment

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

we don't need to test sklearn's function so can remove this

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Also removed this test

…o translation to allow additional confidence measures
@J-Dymond J-Dymond merged commit 0b79ed9 into main Dec 6, 2024
5 checks passed
@J-Dymond J-Dymond deleted the 15-run-inference-on-baskerville branch December 6, 2024 11:46
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.

Run inference on Baskerville
2 participants