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)] #4

Closed yu-cherish closed 5 years ago

yu-cherish commented 5 years ago

Hello, I have already run your program and I get the following error when running the second loop in train.py. 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