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

Question about few-shot setting without non-binding peptide #14

Open
dxl3742 opened this issue Sep 20, 2023 · 2 comments
Open

Question about few-shot setting without non-binding peptide #14

dxl3742 opened this issue Sep 20, 2023 · 2 comments

Comments

@dxl3742
Copy link

dxl3742 commented Sep 20, 2023

Hi,
Great work on the package!
I am wondering will the few-shot setting work without defining a 0 non-binding peptide? I only defined the binding and the unknown peptides, and I have got this error.
RuntimeError: The expanded size of the tensor (5) must match the existing size (0) at non-singleton dimension 2. Target sizes: [0, 40, 5]. Tensor sizes: [0].
In most cases it would be difficult to obtain knowledge of non-binding peptides, as most databases only have binding peptides and corresponding TCRs.

@GaoYiChengTJ
Copy link
Collaborator

Thanks for your interest. It's a good question. Our model was built on the existing databases, i.e. having binding peptides and their corresponding TCRs. From my perspective, the problem involving binding peptides and non-binding peptides needs to develop a new model to solve it.

@yanpinlu
Copy link

yanpinlu commented Mar 2, 2024

Hi, Great work on the package! I am wondering will the few-shot setting work without defining a 0 non-binding peptide? I only defined the binding and the unknown peptides, and I have got this error. RuntimeError: The expanded size of the tensor (5) must match the existing size (0) at non-singleton dimension 2. Target sizes: [0, 40, 5]. Tensor sizes: [0]. In most cases it would be difficult to obtain knowledge of non-binding peptides, as most databases only have binding peptides and corresponding TCRs.

I also encountered RuntimeError when I used my own data set to make predictions: The expanded size of the tensor (5) must match the existing size (0) at non-singleton dimension 2. Target sizes: [0, 40, 5]. Tensor sizes: [0], what causes this? The data set provided has three states, 0,1 and unknown. How can I solve this problem @GaoYiChengTJ @dxl3742

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

No branches or pull requests

3 participants