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

Raising error #1

Open
un-lock-me opened this issue Oct 12, 2021 · 0 comments
Open

Raising error #1

un-lock-me opened this issue Oct 12, 2021 · 0 comments

Comments

@un-lock-me
Copy link

Hi @hmohebbi thanks for sharing your code. I have a questionI appreciate if you can help me with that. I can run the coder for BOW and TFIDF however for word2vec and Bert keeps raising this error:

    530                 else:
--> 531                     array = np.asarray(array, order=order, dtype=dtype)
    532             except ComplexWarning:
    533                 raise ValueError("Complex data not supported\n"

ValueError: setting an array element with a sequence.```

Do you have any idea of what could be the reason?
I searched the net and they mentioning that this error will arise whenever the list has not been prepared correctly for example [2, [2,3]].
But I could not check where could be wrong.
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

1 participant