-
Notifications
You must be signed in to change notification settings - Fork 218
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
Problem with "the object oriented API for repeated calls in a script - multiple examples" #135
Comments
Maybe one of the inner lists in refs doesn't have enough items? It's best if each inner list is the same length. |
I have even tried with 1 item in each inner list and it still gives the same error. Can you try it yourself and tell me if it works or not for you? |
@juharris Did you have the time to test it? I still cannot have it working properly |
Can you run this with pdb and print the two lists causing the discrepancy? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I have a problem with the way that "object oriented API for repeated calls in a script - multiple examples" works.
To my understandings, I have to have a list of hypotheses and a list of list of references.
like hyps=['aaa', 'bbb'] and refs=[['aa', 'aaa', 'aaaa'], ['bb', 'bbb']], correct?
Well if that is the case I am getting an error indicating that the length of my
hyp
andrefs
are not equal which is not the case.As you can see above, the lengths are the same and it should not be a problem
Here is my code which gets the error:
And here is the error itself:
If you need more information, please let me know.
The text was updated successfully, but these errors were encountered: