You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/Users/gary/Documents/research/elitrpc/application.py", line 73, in decode
result = nd.decode(config, StringIO(f.read()))
File "/Users/gary/.local/share/virtualenvs/elitrpc36/lib/python3.6/site-packages/elit/decode.py", line 44, in decode
d = decode(config, istream, ostream)
File "/Users/gary/.local/share/virtualenvs/elitrpc36/lib/python3.6/site-packages/elit/decode.py", line 89, in decode_line
d = self.text_to_sentences(config, line, offset)
File "/Users/gary/.local/share/virtualenvs/elitrpc36/lib/python3.6/site-packages/elit/decode.py", line 182, in text_to_sentences
self.sentiment_analyze(config, sentences)
File "/Users/gary/.local/share/virtualenvs/elitrpc36/lib/python3.6/site-packages/elit/decode.py", line 202, in sentiment_analyze
y, att = analyzer.decode(sens, att=att)
File "/Users/gary/.local/share/virtualenvs/elitrpc36/lib/python3.6/site-packages/elit/component/sentiment.py", line 73, in decode
y = self.p_model.predict(x, batch_size=batch_size, verbose=0)
File "/Users/gary/.local/share/virtualenvs/elitrpc36/lib/python3.6/site-packages/keras/engine/training.py", line 1695, in predict
check_batch_axis=False)
File "/Users/gary/.local/share/virtualenvs/elitrpc36/lib/python3.6/site-packages/keras/engine/training.py", line 132, in _standardize_input_data
str(array.shape))
ValueError: Error when checking : expected input_2 to have 3 dimensions, but got array with shape (0, 1)
The text was updated successfully, but these errors were encountered:
When I use
line
as input format for sentiment analysis. I got this error message.The code I executed is
The file, test.txt, I tested:
Longer version of error messages:
The text was updated successfully, but these errors were encountered: