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

Pytorch version (work in progress) #165

Merged
merged 40 commits into from
Jan 16, 2024
Merged

Pytorch version (work in progress) #165

merged 40 commits into from
Jan 16, 2024

Conversation

florian-huber
Copy link
Contributor

@florian-huber florian-huber commented Dec 14, 2023

Several larger changes:

  • New PyTorch implementation of the MS2DeepScore model
  • New data generator for training the PyTorch model:
    • Uses the pre-selected spectrum pairs
    • Does the spectrum binning
    • Converts spectra to pytorch tensors
  • Custom loss function combining MSE with bell curve to counteract predictions towards the mean plus a linear term to focus more on higher scores.
  • Faster, numba based spectral pair selection

@niekdejonge niekdejonge changed the base branch from main to dev_pytorch January 16, 2024 14:46
@niekdejonge niekdejonge marked this pull request as ready for review January 16, 2024 14:46
@niekdejonge niekdejonge merged commit 8f3a1fe into dev_pytorch Jan 16, 2024
10 checks passed
@niekdejonge niekdejonge mentioned this pull request Jan 16, 2024
11 tasks
@florian-huber florian-huber deleted the pytorch_version branch January 23, 2024 11:00
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