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: setting an array element with a sequence #14

Open
SojeongAn opened this issue Oct 24, 2019 · 3 comments
Open

ValueError: setting an array element with a sequence #14

SojeongAn opened this issue Oct 24, 2019 · 3 comments

Comments

@SojeongAn
Copy link

I am trying to run the code on the other dataset following the instructions in the readme, but I get 'ValueError: setting an array element with a sequence' when I try to train.

Do you have any idea where the problem could be?

@SojeongAn SojeongAn changed the title ValueError: setting an array element with a sequence' ValueError: setting an array element with a sequence Oct 24, 2019
@JRC1995
Copy link
Owner

JRC1995 commented Oct 24, 2019

I am not sure where you are getting this error for, but I often get this error I am trying to convert a nested list into numpy (np.asarray), but the items in the list have different sequence lengths. This could be due to misprocessing the data...make sure before mini-batching the data is padded and everything.

@SojeongAn
Copy link
Author

thanks a lot;) I will have a try.

@DidiDerDenker
Copy link

Hi, do you still know what solved your problem? I'm facing the same issue right now.

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