generating-reviews-discovering-sentiment icon indicating copy to clipboard operation
generating-reviews-discovering-sentiment copied to clipboard

Invalid literal

Open peddinti opened this issue 6 years ago • 2 comments

When I am trying to run the example. But i am facing this issue at this line

xmb[i, -l:] = list(x)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: invalid literal for long() with base 10: '\n'

peddinti avatar May 06 '18 00:05 peddinti

Can you provide your system environment and the input?

yashkumaratri avatar May 22 '18 08:05 yashkumaratri

I got the same problem. In my case, it occurred because the length of my sentence was greater than the mentioned nsteps in the code

hiteshsapkota avatar Jul 10 '18 20:07 hiteshsapkota