tensorflow-sentiment-analysis-and-data-read icon indicating copy to clipboard operation
tensorflow-sentiment-analysis-and-data-read copied to clipboard

python neural_net.py IOError: [Errno 2]

Open molyswu opened this issue 7 years ago • 1 comments

I try to run : # python neural_net.py Bug as below: testing net Traceback (most recent call last): File "neural_net.py", line 262, in test_neural_network() File "neural_net.py", line 195, in test_neural_network with open('../lexicon.pickle','rb') as f: IOError: [Errno 2] No such file or directory: '../lexicon.pickle'

Thanks you for your help!

molyswu avatar Mar 14 '17 06:03 molyswu

sorry for the late reply. I forgot to add the create_lexicon function earlier. You need to run this to create the lexicon before running the neural_net.py

ArifSohaib avatar Apr 06 '17 02:04 ArifSohaib