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

ValueError: too many values to unpack (expected 2) #1

Open
JRK123 opened this issue Nov 25, 2022 · 1 comment
Open

ValueError: too many values to unpack (expected 2) #1

JRK123 opened this issue Nov 25, 2022 · 1 comment

Comments

@JRK123
Copy link

JRK123 commented Nov 25, 2022

synset_id, score = embeddings.search(query, 1)[0]

ValueError: too many values to unpack (expected 2)
(revdict) jayantkalani@user-DSA72NGAO-46RT:~/reverse-dictionary$

@SuperSonicHub1
Copy link
Owner

I'm going to need a little bit more context; this worked on my machine minutes before I pushed to GitHub. Did you build the index first?

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

2 participants