Abstractive-Summarization
Abstractive-Summarization copied to clipboard
ValueError: setting an array element with a sequence
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?
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.
thanks a lot;) I will have a try.
Hi, do you still know what solved your problem? I'm facing the same issue right now.