-
Notifications
You must be signed in to change notification settings - Fork 39
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
Casanovo's 'sequence' mode crashes when n_beams=10 #271
Comments
I can't reproduce it with Casanovo v4.0.1. Can you try again with the latest release and check whether there are any differences between my log/output and the results you obtain? |
Running inference on the single problematic batch with the default settings from Casanovo v4.0.1 and the new default ckpt file I'm unable to reproduce the bug. |
I'm experiencing the same error when running Casanovo's evaluate mode with n_beams>=3 :
The log file is casanovo-4.1.0.log. |
Ok, I think I figured out what the issue is. Here we cache finished beams based on their scores. The problem arises in the edge case that there is a cached beam and a beam to be added that have identical scores. In that case, Tricky bug, I don't have a good solution of the top off my head. We should discuss how to address this. |
I'm experiencing the following error when running Casanovo's
dev
branch insequence
mode withn_beams=10
(this occurs withpredict_batch_size >= 4
:This error doesn't appear to show up for
n_beams < 10
orn_beams > 10
. I've attached what appears to be the batch (32 spectra) that triggers this error consistently to the post.single_problem_batch.txt
The text was updated successfully, but these errors were encountered: