Open dgyhee opened 6 years ago
I met the same problem as you .Have you solved it now? Could you help me?
To TanTanTanTanTan,
rt-polarity.* files are text files, am I right?
In my case, I changed coding format of my data files into UTF-8 form, and then the training runs well.
hi,
Recently I begin studying deep learning, and the code I am suggested as an exercise. I am doing it over Ubuntu 16.04. and use other training files (I replace rt-polarity.neg and pos)
When I run train.py : $python3 ./train.py
it makes a checkpoint and then returns an error : ... Writing to /home/dgyhee/cnn-text-classification-tf/runs/1523842402
Traceback (most recent call last): File "./train.py", line 179, in
x_batch, y_batch = zip(*batch)
ValueError: not enough values to unpack (expected 2, got 0)
(When I just type $./train.py , the code runs over python 2.7, it might be wrong but the traceback error doesn't appear. In the case, however, eval.py returns that ; ./runs/14523842402/checkpoints/../vocab; No such file or directory
It seems that no training happens.)