-
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
RuntimeError: Sizes of tensors must match except in dimension 0 #13
Comments
Hi, I just ran into this issue as well. I got the example structures working just fine but ran into an issue when I tried modeling a tetramer structure. Error code:
|
Hi @lloydtripp, |
I haven't been getting this error anymore actually. I think I added --pair since I had multiple chains in the fasta file. |
Glad to hear that! |
Hi,
When I am trying to run the example, I am getting the following error:
Traceback (most recent call last):
File "/home/project/12003580/RoseTTAFold2/network/predict.py", line 493, in
pred.predict(
File "/home/project/12003580/RoseTTAFold2/network/predict.py", line 218, in predict
msa_orig = merge_a3m_hetero(msa_orig, {'msa':msas[i],'ins':inss[i]}, [sum(Ls_blocked[:i]),Ls_blocked[i]])
File "/data/projects/12003580/RoseTTAFold2/network/data_loader.py", line 531, in merge_a3m_hetero
msa = torch.cat(msa, dim=0)
RuntimeError: Sizes of tensors must match except in dimension 0. Expected size 275 but got size 2176 for tensor number 1 in the list.
What could be the reason for this?
The text was updated successfully, but these errors were encountered: