ruidan / Aspect-level-sentiment

Code and dataset for ACL2018 paper "Exploiting Document Knowledge for Aspect-level Sentiment Classification"
Apache License 2.0
148 stars 32 forks source link

ValueError: All input arrays (x) should have the same number of samples. Got array shapes: [(2, 74), (2, 18), (32, 572)] #5

Closed yu-cherish closed 5 years ago

yu-cherish commented 5 years ago

Hello, I have already run your program, and the error shown in the title appears when train.py runs the second args.epochs loop. I don't know why the number of all input array (x) samples has changed. I have been watching for a long time, but I can't find a mistake. Can you help me see why this is? Thank you

utf001 commented 5 years ago

do you solve this problem?how do you do.Can you share your method?thank you very much.